Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
Important
The finance and operations (Dynamics 365) mobile app and platform are no longer supported. The platform components supporting the mobile app will be removed in a future update. The mobile app has also been removed from app stores. Previously installed instances of the app will continue to work. For more information, see Removed or deprecated platform features.
Represents the data that is loaded into a page.
Hierarchy
PageData
Index
Methods
Methods
getControlValue
getControlValue(controlName: string): any
Gets the value of a control directly from the data set loaded in the page. The "value" is loosely defined across all different types of controls and generally indicates the primary single field value displayed or interacted with the control. Some complex controls (e.g a lookup or a list) may not have a simple value and thus cannot be accessed via this API.
Parameters
| Name | Type | Description |
|---|---|---|
| controlName | string | name of the control whose value is to be retrieved |
Returns any
setControlValue
setControlValue(controlName: string, value: any): any
Sets the value of a control directly into the data set loaded in the page. The "value" is loosely defined across all different types of controls and generally indicates the primary single field value displayed or interacted with the control. Some complex controls (e.g a lookup or a list) may not have a simple value and thus cannot be accessed via this API.
Parameters
| Name | Type | Description |
|---|---|---|
| controlName | string | Name of the control whose value is to be set |
| value | any | The value to be set |