Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

ribbon button display rule

Posted on by 2,397

Hi, I am trying to display the button based on multiple status code value, is that possible? It looks like I can only put one value at a time

DownloadAttachment.png

*This post is locked for comments

  • Suggested answer
    khoait Profile Picture
    khoait 450 on at
    RE: ribbon button display rule

    Hi. Please try following steps:

    1. Open ribbon workbench and load your solution containing the entity you want to customize the ribbon.
    2. Select the entity, click the "Plus" icon next to Display Rule section to add a new Display Rule.
    3. In the right properties panel, click Add step > OrRule to add an Or group
    4. In the OrRule section, click Add Step > ValueRule and input values as you did in your screenshot
    5. To add more Or condition, click Add Step right below the "OR" lable > ValueRule, and input your second condition. Repeat until all OR conditions are added.

    Your DisplayRule should look like this:

    displayrule.PNG

    Note: make sure you link the DisplayRule to the Command you want to apply.

    Hope it helps.

  • Verified answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: ribbon button display rule

    you will have to add one more display rule and see if you can group by "OR" or "AND" etc. as per your need.

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