StandardControl

Provides properties and methods to initiate, update, destroy and perform various actions to build a component.

Available for

Model-driven apps, canvas apps, & portals.

Methods

Method Description
destroy This method is invoked when the component is to be removed from the DOM tree. Use it for the cleanup and to release any memory that the component is using.
getOutputs It is called by the framework prior to a component receiving the new data. Returns an object based on nomenclature defined in manifest, expecting objects[s] for the property marked as bound.
init Used to initialize the component instance. Components can kick off remote server calls and other initialization actions. Dataset values cannot be initialized here, use the updateView method to achieve that.
updateView This method will be called when any value in the property bag has changed. This includes field values, datasets, global values such as container height and width, offline status, component metadata values such as label, visible, etc.

Power Apps component framework API reference
Power Apps component framework overview