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)

Enable & Diasable rules In ribbon workbench

(0) ShareShare
ReportReport
Posted on by

Hi all,

can any one tell me the diffrences between Enable and Disabled In Ribbon Workbench.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Enable & Diasable rules In ribbon workbench

    Sorry Guys its Enable and Disply Rules In Ribbon Workbench.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Enable & Diasable rules In ribbon workbench

    Hi Pravee Kumar,
    Enable rules are used if we need to enable or disable a form ribbon button depending on some conditions but it will be shown in the ribbon. These rules control when the ribbon elements are enabled.
    Display rules are used if you need to show or hide the button based on certain conditions. These specific rules control when the ribbon elements will display.

    https://msdn.microsoft.com/en-us/library/gg334682.aspx

    https://msdn.microsoft.com/en-us/library/gg328560.aspx

  • Community Member Profile Picture
    on at
    RE: Enable & Diasable rules In ribbon workbench

    thanks for your reply could you please elaborate your answer ??

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Enable & Diasable rules In ribbon workbench

    Hi,

    With the ribbon enable rules, commands that are disabled are visible but do not respond to events. Enable rules are intended to be re-used. By defining them with rule definitions, you can use the same enable rule for many command definitions. When more than one enable rule is defined for a command definition, all of the enable rules must evaluate as true for the ribbon element to be enabled.

    With the ribbon display rules, commands that are hidden are not visible at all. By defining display rules in rule definitions, you can use the same display rule for many command definitions. When more than one display rule is defined for a command definition, all of the display rules must evaluate as true for the ribbon element to be displayed.

    Hope you understand.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Enable & Diasable rules In ribbon workbench

    Display Rules are used when we want to show/hide the button on the form. Display rule will completely remove button from form.

    Enable Rules are used to make the button enabled or disabled. Button will be present but will be in enabled or disabled state.

    Let's take a example:

    I want to display a button in disabled state on a form.

    For that i will create a button and show only when the record is saved. For this i will use Display Rule.

    If I want to disable this button on based on some condition i will have to use enable rule.

  • Suggested answer
    Kishor Kumar Profile Picture
    3,710 on at
    RE: Enable & Diasable rules In ribbon workbench

    Hi Pravee,

    You can define rules based secuirty roles or some criteria based on the rule which return true or false we can hide/show the buttons this is known as enable or disable rules in ribbon bench

  • Community Member Profile Picture
    on at
    RE: Enable & Diasable rules In ribbon workbench

    thanks for your reply could you please elaborate your answer ??

    Reply

  • Suggested answer
    Kishor Kumar Profile Picture
    3,710 on at
    RE: Enable & Diasable rules In ribbon workbench

    Pravee,

    Just Imagine Scenario like this there is delete  ribbon in any entity should be visible to the person  with admin role and other people should not be able to see that  delete ribbon

    So for that we are using ribbon work bench tool so we check whether the logged in user has the  admin role so its true so ribbon bench will show those delete ribbon to this users only where in the case of the other users it will not be visible since the condition fails i.e false

    Check this link also

    ribbonworkbench.uservoice.com/.../76681-hide-a-standard-out-of-the-box-button-based-on-a

    Hope you understood now!!

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Enable & Diasable rules In ribbon workbench

    Hi,

    Please refer the link below. You can get all the information regarding the Ribbon Workbench.

    ribbonworkbench.uservoice.com

    ribbonworkbench.uservoice.com/.../81981-2-customising-standard-ribbons

    Thanks...

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