Share via


<Url> (RibbonDiffXml)

Se aplica a: CRM 2016 on-prem, CRM Online

Una acción que abre una página web en una dirección especificada.

Sintaxis

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

Atributos y elementos

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

Atributos

Attribute Description Type Usage

Address

La dirección de la página que se va a abrir. Este valor debe representar un identificador uniforme de recursos (URI). Puede ser una ruta absoluta o relativa a la página.

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

Elementos secundarios

Element Description

<BoolParameter> (RibbonDiffXml)

Especifica un valor con un tipo de datos booleano que puede pasarse como parámetro.

<CrmParameter> (RibbonDiffXml)

Representa datos recuperados de la aplicación Microsoft Dynamics CRM que pueden pasarse como un parámetro.

<DecimalParameter> (RibbonDiffXml)

Especifica un valor con un tipo de datos decimal que puede pasarse como parámetro.

<IntParameter> (RibbonDiffXml)

Especifica un valor con un tipo de datos entero que puede pasarse como parámetro.

<StringParameter> (RibbonDiffXml)

Especifica un valor con un tipo de datos de cadena que puede pasarse como parámetro.

Elementos primarios

Element Description

<Actions> (RibbonDiffXml)

Especifica las acciones que realizará un comando.

Comentarios

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.

Información del elemento

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url

Schema Name

UrlType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Vea también

Otros recursos

Ribbon XML reference
Personalizar los comandos y la cinta de opciones

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