How to Retrieve Entity Main Form Details using JavaScript
Views (3)
In this blog, we will see how we can retrieve the details about “Entity Main” Form.
Details such as
- No of attributes present on Form.
- Section
- Tabs
- Id
We can use below method to retrieve details about entity main form.
Xrm.Utility.getEntityDefaultMainFormDescriptor(entityName, formId);
Here,

Note: If we don’t specify the FormId then above method will select Default Form of specified entity.
For More details please use below link:
Example:
We have written below sample code to get the details about the account Main Form.

Result:

The post How to Retrieve Entity Main Form Details using JavaScript appeared first on Nebulaa IT Solutions.

Like
Report
*This post is locked for comments