<Actions> (RibbonDiffXml)

[Applies to: Microsoft Dynamics CRM 2011]

Specifies the actions that a command will perform.

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

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.

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>

 

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions

Schema Name

ActionsType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show: