Skip to main content

Notifications

Announcements

No record found.

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
  • Suggested answer
    PhilS Profile Picture
    PhilS 4 on at
    Getting script errors after Customer Insights - Journeys - Automatic Update 1.1.35296.75
    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.
  • Suggested answer
    Getting script errors after Customer Insights - Journeys - Automatic Update 1.1.35296.75
    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
  • Chris_SKIT Profile Picture
    Chris_SKIT 8 on at
    Getting script errors after Customer Insights - Journeys - Automatic Update 1.1.35296.75
    Hello did you find the cause of this? We also get it since a few weeks.
  • Getting script errors after Customer Insights - Journeys - Automatic Update 1.1.35296.75
    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
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    Getting script errors after Customer Insights - Journeys - Automatic Update 1.1.35296.75
    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

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans