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 (experimental 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

MyNameSpace.JSHelloWorldControl.prototype.updateView = function (context) {
	this._labelElement.innerText = "Hello World! (JS)";
};

Remarks

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

Control
PowerApps component framework API reference
PowerApps component framework overview