Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Javascript is not getting triggered on_save

Posted on by 195

Hi,

"Web resource method does not exist: KMCommon.KnowledgeArticle.BPFCommandActions.suggestedContentDifference"

Getting the above error,only when there is a button click before save of the form.

Regards,

Susritha.

  • Suggested answer
    Denny Deng Profile Picture
    Denny Deng on at
    RE: Javascript is not getting triggered on_save

    please check if KMCommon.KnowledgeArticle.BPFCommandActions.suggestedContentDifference method is in original mrc_businessprocess.js web resource

  • Susritha Profile Picture
    Susritha 195 on at
    RE: Javascript is not getting triggered on_save

    Not only with single button the issue with all the Custom button.

    We have many library and using two libraries in On_save of the form.The issue with the only one library "mrc_businessprocess.js" not with "mrc_shared.js".

    I created the new web resource for testing purpose then it worked.

    Please help with this.

    Thanks in Advance!!

    pastedimage1585112913512v1.png

  • Suggested answer
    Denny Deng Profile Picture
    Denny Deng on at
    RE: Javascript is not getting triggered on_save

    yes, if there is JS exception throw when you click the button, the following code or event won't execute\trigger.

    "KMCommon.KnowledgeArticle.BPFCommandActions.suggestedContentDifference" looks like not from OOB CRM, did you make any customization on this button to refer this web resource? if yes, please check if this function exist in web resource

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans