Share via


<Url> (RibbonDiffXml)

Si applica a: CRM 2016 on-prem, CRM Online

Azione tramite cui viene aperta una pagina Web a un indirizzo specificato.

Sintassi

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

Attributi ed elementi

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

Attributi

Attribute Description Type Usage

Address

Indirizzo della pagina da aprire. Questo valore deve rappresentare un URI (Uniform Resource Identifier). Può essere un percorso assoluto o relativo alla pagina.

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

Elementi figlio

Element Description

<BoolParameter> (RibbonDiffXml)

Specifica un valore con un tipo di dati booleano che è possibile passare come parametro.

<CrmParameter> (RibbonDiffXml)

Rappresenta i dati recuperati dall'applicazione Microsoft Dynamics CRM che è possibile passare come parametro.

<DecimalParameter> (RibbonDiffXml)

Specifica un valore con un tipo di dati decimale che è possibile passare come parametro.

<IntParameter> (RibbonDiffXml)

Specifica un valore con un tipo di dati integer che è possibile passare come parametro.

<StringParameter> (RibbonDiffXml)

Specifica un valore con dati di tipo stringa che è possibile passare come parametro.

Elementi padre

Element Description

<Actions> (RibbonDiffXml)

Specifica le azioni che verranno eseguite da un comando.

Note

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.

Nota

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.

Informazioni elemento

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url

Schema Name

UrlType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Vedere anche

Altre risorse

Ribbon XML reference
Personalizzare i comandi e la barra multifunzione

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