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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

problems when creating a button in ribbon workbench

(0) ShareShare
ReportReport
Posted on by

Hello experts,

I'm trying to create a button in the ribbon workbench, the problem is that when I try to create a command that calls a function in javascript.

When creating a command in javascipr I get the following error.

4212.1.png

Now try uninstalling the solution and even try to delete the button and save but keep throwing the same error.

any answer would be very useful.

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Camilio ,

    Please follow below steps -

    To delete the existing button - 

    - Close the browser and reopen CRM , Go to setting --> Customization --> Solution --> Create a test solution and add the entity only , where you have added the button. Do not add any required component( Do not keep any  JS file in the solution)

    - Open Ribbon Workbench select the test solution.

    - Select the button first check what are the command , display rules , enables rules added delete one by one .

    - Right Click and try to delete the button

    - Publish.

    Next steps to create the button 

       - Once publish completed close the ribbon workbench and open the ribbon workbench and select the test solution and add the button again drag and drop.

         - Fill all the details tooltip, description ,icon etc . 

       - Select the button , go to the commands under solution  entity dropdown --> Right Click and add new command , Search the JS which you want and put the function name .

       - Go to button details and select the command which you created.

       - Do publish.

  • Suggested answer
    Pawar Pravin Profile Picture
    5,237 on at

    Hi ,

    Please do check once whether you are using correct version of ribbon workbench solution.

    "RibbonWorkbench2016

    Ribbon Workbench 2016

    3.1.177.1

    Managed

    Develop 1 Ltd"

    Last time I had faced same issue. After deleting existing solution (corrupted one) and importing new solution would fix this issue.

  • Community Member Profile Picture
    on at

    if it was the solution!

    a greeting friend thank you very much

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans