Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ribbon button display rule

(0) ShareShare
ReportReport
Posted on by 2,403

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans