March 2020
Beginner to intermediate
426 pages
13h 11m
English
This object allows us to work with the different controls that are available in Dynamics 365 CE. The following are the commonly used standard control type methods that are available under this object:
|
addNotification |
We can use this method to display a notification for the field or to display an error message to the user based on the value. We can also suggest an action under the notification:
formContext.getControl(arg).addNotification(notification); |
|
clearNotification |
This method clears notifications that have been displayed using the addNotification method:
formContext.getControl(arg).clearNotification(uniqueId); |
|
getAttribute |
We can use this method to get an attribute associated with a control:
formContext.getControl("controlname").getAttribute(); ... |
Read now
Unlock full access