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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Active Discussion

Portals: Fixing Script Errors

(4) ShareShare
ReportReport
Posted on by

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

  • Dmytro Rutkovskyi Profile Picture
    1,835 on at

    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.

  • Community Member Profile Picture
    on at

    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)

  • Community Member Profile Picture
    on at

    Thank you!  That worked.

  • Brett Saun Profile Picture
    5 on at

    Thank you!  

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans