<Actions> (RibbonDiffXml)
TOC
Collapse the table of content
Expand the table of content

<Actions> (RibbonDiffXml)

 

Applies To: CRM 2016 on-prem, CRM Online

Specifies the actions that a command will perform.

<Actions>
 [<JavaScriptFunction /> | <Url /> ]
</Actions>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<JavaScriptFunction> (RibbonDiffXml)

Specifies an action that calls a function from a specific JavaScript library.

<Url> (RibbonDiffXml)

An action that opens a web page at a specified address.

Parent Elements

Element

Description

<CommandDefinition> (RibbonDiffXml)

Specifies a set of rules that control how a ribbon element is displayed and actions to perform that can be referenced by ribbon elements and controls.

Example

This Actions element contains a <Url> (RibbonDiffXml) action that opens a Web resource into a window of a specified size while passing contextual parameters.

<Actions> <Url Address="$webresource:New_ShowParams.htm"      PassParams="true"      WinParams="height=200, width=400,toolbar=no, menubar=no,location=no" /></Actions>

Element Information

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions

Schema Name

ActionsType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show:
© 2016 Microsoft