Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Portals: Fixing Script Errors

Posted on by Microsoft Employee

This is to help other people who may be having this issue.

I was using D365 Portals but when accessing the Web Page, I received this error.

Script Error
TypeError: Cannot read property 'webpage' of undefined
    at eval (eval at RunHandlerInternal (URL of CRM), <anonymous>:1:19)
    at RunHandlerInternal
    at RunHandlers
    at OnScriptTagLoaded

or 'Cannot read property of WebForms' or 'adx is not defined at eval'

I was unable to access certain information like Additional Settings and creating Entity Form Metadata would error out as well.

Mousing over some of the forms information, you can see that it says 'Request to the server has been blocked by an extension'

6038.snip.PNG

Looking through the source (and just noticing that the form looks different to the CRM's look and feel), you can see that some parts of the form are iframes linking to external URLs.

7026.snip2.PNG

The CRM form depends on the iframes. So, all you have to do is disable your adblocker or any content filtering you have.

Regards,

Jarren Ong

*This post is locked for comments

  • Brett Saun Profile Picture
    Brett Saun 5 on at
    RE: Portals: Fixing Script Errors

    Thank you!  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Portals: Fixing Script Errors

    Thank you!  That worked.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Portals: Fixing Script Errors

    Haha that's actually hilarious if that's the case. It may be a considered design in some adblockers.

    There's an interesting article that talks about ADX and Portals  (community.dynamics.com/.../difference-between-microsoft-dynamics-crm-portals-adx-studio-portals-from-microsoft-xrm-portals-and-open-source-dynamics-portal)

  • Dmytro Rutkovskyi Profile Picture
    Dmytro Rutkovskyi 1,835 on at
    RE: Portals: Fixing Script Errors

    CRM Portals used to be the product from ADXStudio, so they have many adx* naming in their scripts paths. And most of adblocker not intelligent enough to not thread any ad* file as advertise.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans