Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Script Library causing issues

(0) ShareShare
ReportReport
Posted on by 235

Hi Friends,

I am getting strange error when adding product to Quote in Unified User Interface.

C

webresources/Sales/QuoteDetail/QuoteDetail_main_system_library.js:

Is above system script file?? I did not find it on default solution.....

Error :

TypeError: Cannot read property 'getEventArgs' of undefined
at Object.FormOnSave [as Form_onsave]
(mydemo.crm4.dynamics.com/.../QuoteDetail
/QuoteDetail_main_system_library.js:1:29391)
at e.executeFunction (mydemo.crm4.dynamics.com/.../app.js
029-184957:549:27818)

 

Thanks!

Regards,

Santosh 

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,089 on at
    RE: Script Library causing issues

    Did you tried in different browser , clearing cache. Not sure try to do that . If its does not help you should raise ticket to MS .  

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Script Library causing issues

    Hi,

    Yes, "QuoteDetail_main_system_library.js" is internal library. Based on the error message, the execution context is not passed on the method named "FormOnSave". If this is custom then try passing the execution context. If this is not customer or you can't find this method then contact Microsoft.

    Hope this helps.

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,615 on at
    RE: Script Library causing issues

    Native webresource libraries will not display in solution.

    Open F12 browser developer toolbar, check the file there. You can even debug to see where exactly this error occur.

    You can escalate to MS support ticket if you are sure you didn’t customize something & break this.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans