Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Updated Account Form - executionContext.getFormContext

Posted on by 35

Hi,

Coming up with this error when opening an Account record.  The main thing I "believe" I did was to modify one of the fields to pull "Leads" from the Parent Account. It might be something else.

Any insight would be appreciated!

TypeError: executionContext.getFormContext(...).ui.tabs.get(...).getDisplayState is not a function
at updateUserPreferences (hoytniva.crm.dynamics.com/.../notify_loader.js
at initNotify (hoytniva.crm.dynamics.com/.../notify_loader.js
at hoytniva.crm.dynamics.com/.../notify_loader.js
at iv_notifyOnLoadActivity (hoytniva.crm.dynamics.com/.../notify_loader.js
at eval (eval at RunHandlerInternal (hoytniva.crm.dynamics.com/.../ClientApiWrapper.aspx, <anonymous>:1:1)
at RunHandlerInternal (hoytniva.crm.dynamics.com/.../ClientApiWrapper.aspx
at RunHandlers (hoytniva.crm.dynamics.com/.../ClientApiWrapper.aspx
at OnScriptTagLoaded (hoytniva.crm.dynamics.com/.../ClientApiWrapper.aspx
at hoytniva.crm.dynamics.com/.../ClientApiWrapper.aspx

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Updated Account Form - executionContext.getFormContext

    Hello,

    Can you please provide a script that you use on the form?

  • Suggested answer
    Joana Pinto Profile Picture
    Joana Pinto 740 on at
    RE: Updated Account Form - executionContext.getFormContext

    Hi,

    Did you pass the execution context as a parameter on your JavaScript function?

    pastedimage1575569324337v1.png

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Updated Account Form - executionContext.getFormContext

    Hi.

    Looks like missing to pass execution context parameter to java script function used on account form.

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

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans