<Actions> (RibbonDiffXml)

S'applique à: CRM 2016 on-prem, CRM Online

Spécifie les actions exécutées par une commande.

Syntaxe

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

Attributs et éléments

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

Attributs

Cet élément n'a pas d'attribut.

Éléments enfants

Element Description

<JavaScriptFunction> (RibbonDiffXml)

Spécifie une action appelant une fonction à partir d'une bibliothèque JavaScript spécifique.

<Url> (RibbonDiffXml)

Action ouvrant une page web à une adresse spécifiée.

Éléments parents

Element Description

<CommandDefinition> (RibbonDiffXml)

Spécifie un ensemble de règles contrôlant l'affichage d'un élément de ruban et les actions à effectuer qui peuvent être référencées par les éléments et contrôles du ruban.

Exemple

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>

Informations sur l'élément

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions

Schema Name

ActionsType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Voir aussi

Autres ressources

Personnaliser les commandes et le ruban
Ribbon XML reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.