Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Ribbon workbench

Posted on by 95

I added the Ribbon button on opportunity main from, Based on Business unit I want to hide this button.

*This post is locked for comments

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Ribbon workbench

    please share your code and the details what you did .

  • Dinnu Profile Picture
    Dinnu 95 on at
    RE: Ribbon workbench

    If  i am using only enable rule its only enble or disable based on business unit,but i want to hide it.

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Ribbon workbench

    Did you implement both enable /display rule ?

    You should use only enable rule as mentioned in the blog . Try again disabling display rule  and see the result .

  • Dinnu Profile Picture
    Dinnu 95 on at
    RE: Ribbon workbench

    Thank you for Responding.

    But i tried In display rule ,I hide the button by using rule "hideoncommandbar" Then i using custom enable rule(using javascript) which return true or false based on that button is enable or diasble,I think if button is enable i automatically will show on command bar ,but button is not showing.....

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Ribbon workbench

    Hi ,

    Do similar like below thread -

    butenko.pro/.../showing-ribbon-button-based-on-the-result-of-async-operation

    here is the query to retrieve business unit name  -

    community.dynamics.com/.../248075

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans