• No Responses

    How to Retrieve Entity Main Form Details using JavaScript

    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:

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-utility/getentitymainformdescriptor

    Example:

    We have written below sample code to get the details about the account Main Form.

    Result:

  • Subscribe
    Notify of
    guest
    0 Comments
    Oldest
    Newest Most Voted
    Inline Feedbacks
    View all comments

WANT QUICK D365 IMPLEMENTATION?

Let started with our D365 Quickstart package and get onboard within 7 days!

I'M INTERESTED!
LATEST POSTS
© Copyright 2025 Nebulaa IT Solutions LLP. All Rights Reserved.
Download
Brochure