Compartilhar via


<Url> (RibbonDiffXml)

Aplica-se a: CRM 2016 on-prem, CRM Online

Uma ação que abre uma página da Web em um endereço especificado.

Sintaxe

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

Atributos e elementos

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

Atributos

Attribute Description Type Usage

Address

O endereço da página a ser aberta. Este valor deve representar um URI (Uniform Resource Identifier). Ele pode ser um caminho absoluto ou relativo para a 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 filho

Element Description

<BoolParameter> (RibbonDiffXml)

Especifica um valor com um tipo de dados booliano que pode ser passado como um parâmetro.

<CrmParameter> (RibbonDiffXml)

Representa os dados recuperados do aplicativo do Microsoft Dynamics CRM que pode ser passado como parâmetro.

<DecimalParameter> (RibbonDiffXml)

Especifica um valor com um tipo de dados decimais que pode ser passado como um parâmetro.

<IntParameter> (RibbonDiffXml)

Especifica um valor com um tipo de dados inteiro que pode ser passado como um parâmetro.

<StringParameter> (RibbonDiffXml)

Especifica um valor com um tipo de dados de cadeia de caracteres que pode ser passado como um parâmetro.

Elemento pai

Element Description

<Actions> (RibbonDiffXml)

Especifica as ações que um comando executará.

Comentários

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.

Observação

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.

Informações do elemento

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url

Schema Name

UrlType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Consulte também

Outros recursos

Ribbon XML reference
Personalizar os comandos e a faixa de opções

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