web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Problem: Ribbon Workbench doesn't load custom javascript

(0) ShareShare
ReportReport
Posted on by

Hey guys,

I have a problem with Ribbon Workbench. I have a dialog and a button that supposed to trigger that dialog. On Ribbon, I've tried to Add action, actually, tried to add my custom javascript, but RW doesn't see any of my custom javascripts, only system javascripts. Then I tried to add a picture as custom resource, and RW can load picture, but can't load javascript. That confused me even more... I've seen simular topics on this forum, but the answer is always about browser, and that didn't help me. So, it isn't about browser... If anyone has an idea what could be the problem, please let me know.

p.s. my CRM is 2016

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Milan,

    Try to add your JavaScript Webresource to Solution you open with Ribbon Workbench.

  • Community Member Profile Picture
    on at

    Of course, I've done it from the beginning :-). It isn't about that...

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Please post screenshot that shows your command configuration.

  • Community Member Profile Picture
    on at

    ribbon-command.png

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm really sorry but I don't see where you referenced JavaScript webresource... Have I missed something?

  • Community Member Profile Picture
    on at

    I've added javascript in my CRM solution, and then when I loaded that CRM solution from Ribbon Workbench, and in RW when I clicked Add action to add javascrpipt, I can't see that javascript (from my solution) but only see system javascript

    dodavanje-javascripta.png

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Milan,

    This version of Ribbon Workbench is in Beta so it can have issues. I would suggest to get in touch with author of tool - ribbonworkbench.uservoice.com

    As a possible workaround you can use SilverLight version (you will have to use IE of FF browsers for that) or XrmToolbox with Ribbon Workbench plugin - www.xrmtoolbox.com/Plugins.html

  • ScottDurow Profile Picture
    21 on at

    If there are too many webresources they may not show in the dropdown - try adding part of the name of the webresource you want to select and searching using that.

    Hope this helps!

  • Community Member Profile Picture
    on at

    Unfortunately, nothing works... Is there any online book about Ribbon Workbench that you could recommend me?

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    KB worth to look - ribbonworkbench.uservoice.com/knowledgebase

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans