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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Getting script errors after Customer Insights - Journeys - Automatic Update 1.1.35296.75

(1) ShareShare
ReportReport
Posted on by 6
Hi guys,
 
After doing an update on Customer journeys to above version, suddenly we are experiencing script issues in MS related javascript files.
eg:
TypeError: Cannot read properties of undefined (reading 'getAttribute')
    at Et.CustomEventUrlHandler (https://xyz.crm4.dynamics.com/%7b638385782470000216%7d/webresources/msevtmgt_EventMgmt.CrmWebResource:166:18432)
...
Event Name: onload
Function Name: EventMgmt.CrmWebResource.Handlers.customEventUrlHandler
Web Resource Name: msevtmgt_EventMgmt.CrmWebResource
Solution Name: MicrosoftDynamics_EventManagement
Publisher Name: microsoftdynamics
 
almost 4-5 errors on same solution. Are we missing any switch to make it on or whats the possible resolution?
 
Thank you,
Prashant
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    We have created a test environment that matches the version of your application, but we are unable to reproduce your problem.

    We would like you to answer the following questions, which will help us to better understand your problem.
     
    Q1: Is your Solution an out-of-the-box Solution or a customized Solution?
     
    Q2: Based on the information you provided, this looks like an error with an internal web resource that appears to be available out-of-the-box. Is this a correct determination?
     
    Q3: Have you imported exported or done anything else with this Solution?
     
     
     
    Best Regards,
    Rudy Zhang
  • Community member Profile Picture
    6 on at
    Hi Rudy,
     
    This is our version : 1.1.35296.79
     
    Also its out of box solution. The errors are coming only for MS related JS files that we haven't changed anything on it. And its the usual MS update that imports solution as per the process. We didn't install anything from our side
  • Chris_SKIT Profile Picture
    8 on at
    Hello did you find the cause of this? We also get it since a few weeks.
  • Suggested answer
    Community member Profile Picture
    6 on at
    Hi,
    After call with MS support team, we managed to edit some handlers and pass the execution context to the affected handlers. This solved the issue. We got 4-5 handler issues and we had to properly pass the execution context to the relevant ones.
     
    But the error is not generic. You might get error on different handlers. A MS call will handle your issues I think so.
     
    -Prashant Vedpathak
  • Suggested answer
    PhilS Profile Picture
    4 on at
    We've had this exact same problem with 2 clients.  We don't just make the same changes to both of them, so definitely an MS issue.  Which they seem to have fixed in the incoming update 'now'.
     
    When you navigate to the Website and form tab on Event and change the Custom registration form URL? toggle, it errors both times.  Users can choose to ignore the error as it's just an error.
     
    MS Support has struggled to work out the issue - have we changed anything, are we using OOB Forms, etc..  Handlers switched on etc..  yes, formcontext passed in, yes...
     
    Eventually twigged that the issue is with the Event Handler, so whilst it is on the onLoad event and correctly called we've added it to the Tab onChange event.
     
    As a workaround, we did the following
     
    EventMgmt.CrmWebResource.Handlers.customEventUrlHandler added this to the Tab onChange event and then the error disappeared.
     
     
    Will see what MS support comes back with, eventually.
     
     
    Hope this helps someone now and in the future our clients are on crm4, with Marketing.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans