Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Ribbon button JS library missing CRM 2016

Posted on by 810

Hi, 

I am using CRM 2016 on-prem, I have used ribbon workbench to customize ribbon on lead entity. 

I added custom button and call custom js file. leadribbon js file. 

Steps: 

  • I added JS file on form load, able to see JS file load successfully in browser (worked in IE & Chrome)

75632.1.png

  • Configure javascript on ribbon button using ribbon workbench too

8764.2.png

  • publish ribbon & complete solution 
  • javascript is missing on form load & on button click no javascript or error I face

2477.3.png

do you see am I missing anything? Am I using correct ribbon workbench version?

*This post is locked for comments

  • Verified answer
    Dhaval mistry Profile Picture
    Dhaval mistry 810 on at
    RE: Ribbon button JS library missing CRM 2016

    Yes, My issue is resolved. I deployed using CRM Development Toolkit (directly from VS 2015), I guess due to that its not deploying properly.

    I re-create Web Resource (JS file) manually from CRM and add javascript.

    It resolve my issue.

    Thanks for your suggestions

  • Yadnyesh Kuvalekar Profile Picture
    Yadnyesh Kuvalekar 4,102 on at
    RE: Ribbon button JS library missing CRM 2016

    Is your issue resolved?

  • Verified answer
    Clem Profile Picture
    Clem 2,541 on at
    RE: Ribbon button JS library missing CRM 2016

    Try to put a "debugger;" line on your javascript to set an automatic breakpoint.

    I have some troubles to find my javascript sometimes and I do this, it's effective !

    Clément

  • Verified answer
    Kumar Viju Profile Picture
    Kumar Viju 1,026 on at
    RE: Ribbon button JS library missing CRM 2016

    Hi,

    I had similar issue using Ribbon Workbench. Try using Visual Ribbon Editor ( I find this tool more controlled and easy to use )

    https://crmvisualribbonedit.codeplex.com/ 

  • Verified answer
    Yadnyesh Kuvalekar Profile Picture
    Yadnyesh Kuvalekar 4,102 on at
    RE: Ribbon button JS library missing CRM 2016

    Hi Dhaval,

    Can you try clearing browser cache and reload the form again? I have faced caching issues many times.

    Also, can you post the screenshot from ribbon workbench with the location of the button you have added?

  • Dhaval mistry Profile Picture
    Dhaval mistry 810 on at
    RE: Ribbon button JS library missing CRM 2016

    I am using Ribbon Workbench version 2.0.1.3

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