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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Updated Account Form - executionContext.getFormContext

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    Hi.

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

  • Suggested answer
    Joana Pinto Profile Picture
    740 on at

    Hi,

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

    pastedimage1575569324337v1.png

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Can you please provide a script that you use on the 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 119

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans