<Url> (RibbonDiffXml)

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

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

Syntaxe

<Url 
 Address="String"
 PassParams=["0" | "1" | "true" | "false"]
 WinMode="Integer"
 WinParams="String" 
>
 <BoolParameter/>
 <CrmParameter/>
 <DecimalParameter/>
 <IntParameter/>
 <StringParameter/>
</Url>

Attributs et éléments

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

Attributs

Attribute Description Type Usage

Address

Adresse de la page à ouvrir. Cette valeur doit représenter un URI (Uniform Resource Identifier). Il peut s'agir d'un chemin d'accès absolu ou relatif à la page.

String

Required

PassParams

Specifies whether information about the record and language context are passed to the URL.

Boolean

Optional

WinMode

Specifies the window mode. See Remarks.

Valid values:

 

Value Description

0

Window [Default]

1

Modal Dialog

2

Modeless Dialog

Enumeration

Optional

WinParams

Specifies the parameters to be passed to the window. The format of this parameter is different depending on the value of the WinMode parameter.

String

Optional

Éléments enfants

Element Description

<BoolParameter> (RibbonDiffXml)

Spécifie une valeur avec un type de données booléen pouvant être transmise sous la forme d'un paramètre.

<CrmParameter> (RibbonDiffXml)

Représente les données récupérées auprès de l'application Microsoft Dynamics CRM pouvant être transmises en tant que paramètre.

<DecimalParameter> (RibbonDiffXml)

Spécifie une valeur avec un type de données décimal pouvant être transmis sous la forme d'un paramètre.

<IntParameter> (RibbonDiffXml)

Spécifie une valeur avec un type de données entier pouvant être transmise sous la forme d'un paramètre.

<StringParameter> (RibbonDiffXml)

Spécifie une valeur avec un type de données de chaîne pouvant être transmise sous la forme d'un paramètre.

Éléments parents

Element Description

<Actions> (RibbonDiffXml)

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

Remarques

For WinMode = 0, the window.open method is used. For more information, see the open Method topic in the MSDN Library.

For WinMode = 1 (modal dialog), the window.showModalDialog method is used. For more information, see the showModalDialog Method topic in the MSDN Library.

For WinMode = 2 (modeless dialog), the window.showModelessDialog method is used. For more information, see the showModelessDialog Method topic in the MSDN Library.

Notes

Don’t use this action to open entity forms or web resources. Use the <JavaScriptFunction> (RibbonDiffXml) with a function that uses Xrm.Utility.openEntityForm or Xrm.Utility.openWebResource instead.

Informations sur l'élément

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url

Schema Name

UrlType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Voir aussi

Autres ressources

Ribbon XML reference
Personnaliser les commandes et le ruban

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