web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,510

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

I have the same question (0)
  • Verified answer
    Rawish Kumar Profile Picture
    13,758 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.

  • Suggested answer
    khoait Profile Picture
    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans