Compartilhar via


<StringParameter> (RibbonDiffXml)

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

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

Sintaxe

<StringParameter 
 Name="String" 
 Value="String"
/>

Atributos e elementos

The following describes the attributes, child elements, and parent elements.

Atributos

Attribute Description Type Usage

Name

Representa o nome de um parâmetro de cadeia de consulta passado para este valor ao usar um elemento Url.

String

See Remarks

Value

Especifica o valor a ser passado como um parâmetro.

String

Required

Elementos filho

Este elemento não tem elementos filho.

Elemento pai

Element Description

<CustomRule> (RibbonDiffXml)

Especifica uma regra usada com uma definição EnableRule composta por uma referência a uma função em uma biblioteca JavaScript.

<JavaScriptFunction> (RibbonDiffXml)

Especifica uma ação que chama uma função em uma biblioteca JavaScript específica.

<Url> (RibbonDiffXml)

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

Comentários

When the StringParameter is a child of the <Url> (RibbonDiffXml) a Name attribute is required. When the StringParameter is a child of the <JavaScriptFunction> (RibbonDiffXml) or <CustomRule> (RibbonDiffXml) elements, the Name attribute is not valid.

Informações do elemento

XPath

//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/CustomRule/StringParameter |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/CustomRule/StringParameter |
//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url/Stringparameter |
//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/JavaScriptFunction/Stringparameter

Schema Name

  • StringParameterType

  • StringNamedParameterType

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.