web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :















 





 





    
     
    
    
     











 

(0) ShareShare
ReportReport
Posted on by
  •  Profile Picture
    on at
    RE: getFormContext is not a function

    Hi,

    The Client API object model for model-driven apps (formContext) is introduced when the model-driven apps came to the stage. It is not used in Dynamics CRM 2016.

    docs.microsoft.com/.../understand-clientapi-object-model

    docs.microsoft.com/.../clientapi-form-context

    You need to use Xrm.Page object model.

    https://community.dynamics.com/365/b/d365demystified/posts/understanding-xrm-page-object-model

    Regards,

  • Suggested answer
     Profile Picture
    on at
    RE: getFormContext is not a function

    in crm 2016 you need to use Xrm namespace (like Xrm.Page.getAttribute)

    formContext is available starting from Dynamics 365 v9

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Leaderboard > test 12 sep

Featured topics

Product updates

Dynamics 365 release plans