Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

web resource html failed to access parent JavaScript functions

Posted on by 525

Hi CRMers,

We have an existing CRM, where we use web resources HTML, which calls web resource JavaScript function which is added to the form. This is working fine. 

When we deploy CRM in another instance and imported all the web resources, forms from existing CRM. Now we are getting javascript errors while calling function from web resource html using Parent.window.someFunction(), but getting undefined exception. 

our CRM is on-premise V8.2. 

*This post is locked for comments

  • Suggested answer
    hellosuresh Profile Picture
    hellosuresh 525 on at
    RE: web resource html failed to access parent JavaScript functions

    Thanks for your suggestion.

    The issue because of Turbo forms which are enabled by default with Dynamics CRM 2016. 

    Ref:

    https://community.dynamics.com/crm/b/crmtechie/posts/turbo-forms-with-new-form-rendering-engine

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: web resource html failed to access parent JavaScript functions

    Hi Shawn,

    Take a look my blog and the old thread as well  mentioned in the blog-

    goutamdascrm.wordpress.com/.../

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans