Define ribbon tab display rules
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Tab display rules control whether a specific tab is displayed for a ribbon or not.
Unlike other ribbon elements like groups or specific controls, you must explicitly provide a tab display rule for a tab to be displayed in the ribbon. By default, other ribbon elements will always display unless a display rule removes them.
In the RibbonDiffXml, tabs can be defined for specific entities or defined globally. If the tab is defined for an entity, the only valid type of rule is <EntityRule> (RibbonDiffXml). Because defining a tab in the scope of a particular entity already limits the tab to only that entity, the only valid attributes are AppliesTo (PrimaryEntity or SelectedEntity) and Context (Form, HomePageGrid, SubGridStandard, or SubGridAssociated).
When you define a tab display rule globally in the RibbonDiffXml for the application ribbons, you can apply both EntityRule elements and <PageRule> (RibbonDiffXml) elements.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright