updateView

This method will be called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, component metadata values such as label, visible, etc.

Available for

Model-driven apps and canvas apps (public preview)

Syntax

updateView(context)

Parameters

Parameter Name Type Required Description
context context yes Contains values as set up by the customizer mapped to the name defined in the manifest, as well as in the utility functions

Example

public updateView(context: ComponentFramework.Context<IInputs>): void
{
    this._labelElement.innerText = "Hello World! (TS)";
}

Remarks

Set the value of the field component to the raw value from the configured field

Control
Power Apps component framework API reference
Power Apps component framework overview