setValue

Set value for the column.

Available for

Model-driven and canvas experimental apps

Syntax

setValue(columnName, value)

Parameters

Parameter Name Type Required Description
columnName string Yes The logical name of the column.
value string
Date
number
number[]
boolean
EntityReference
EntityReference[]
FileObject
ImageObject
Yes New value for the record.

Return Value

Type: Promise

Limitations

Canvas experimental apps do not support Decimal Number and Floating Point Number types.

Entityrecord
Power Apps component framework API reference
Power Apps component framework overview