This object allows us to work with form items. The following are the methods that are available under this object:
get |
We can use the following code to get all the controls of a form. We need to pass the GUID of the form to get the controls: formContext.ui.formSelector.items.get("Form GUID"); |
getCurrentItem |
We can use this method to get the current entity form reference: formContext.ui.formSelector.getCurrentItem(); |
The preceding methods are useful if we are using multiple forms for entity; we can use the preceding methods to get form details.