<HideCustomAction> (RibbonDiffXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Removes an existing ribbon element from being processed for the ribbon.

Syntax

<HideCustomAction 
 HideActionId="String"
 Location="String"
 Sequence="Integer"
 Title="String"
/>

Attributes and Elements

The following table lists the attributes, child elements, and parent elements.

Attributes

Attribute

Description

Type

Usage

HideActionId

A unique name for the HideCustomAction

String

Optional

Location

The id value of the element to be hidden.

String

Optional

Sequence

Specify the location of the ribbon modification by setting the Sequence value higher or lower than existing ribbon elements.

Integer

Optional

Title

This element is not used in Microsoft Dynamics 365.

String

Optional

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<CustomActions> (RibbonDiffXml)

Contains a collection of actions that can add, replace, or remove items from the ribbon.

Element Information

XPath

//RibbonDiffXml/CustomActions/HideCustomAction

Schema Name

HideCustomActionType

Validation File

RibbonCore.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright