Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

problems when creating a button in ribbon workbench

Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: problems when creating a button in ribbon workbench

    if it was the solution!

    a greeting friend thank you very much

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: problems when creating a button in ribbon workbench

    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.

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: problems when creating a button in ribbon workbench

    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.

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans