Skip to main content

Notifications

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,912 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,355 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans