다음을 통해 공유


<BoolParameter> (RibbonDiffXml)

적용 대상: CRM 2015 on-prem, CRM Online

매개 변수로 전달할 수 있는 부울 데이터 형식의 값을 지정합니다.

구문

<BoolParameter
 Name="string"
 Value=["0" | "1" | "true" | "false"]
</ BoolParameter >

특성 및 요소

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

특성

Attribute Description Type Usage

Value

매개 변수로 전달할 값을 지정합니다.

Boolean

Required

Name

URL 요소를 사용할 때 이 값에 대해 전달되는 쿼리 문자열 매개 변수의 이름을 나타냅니다.

The name of the Boolean value to pass when BoolParameter is used as a child of <Url> (RibbonDiffXml).

String

Required

> [!NOTE] > This parameter is only available when BooleanParameter is a child of <Url> (RibbonDiffXml). >

하위 요소

이 요소에는 하위 요소가 없습니다.

상위 요소

Element Description

<JavaScriptFunction> (RibbonDiffXml)

특정 JavaScript 라이브러리에서 함수를 호출하는 작업을 지정합니다.

<CustomRule> (RibbonDiffXml)

JavaScript 라이브러리 내의 함수에 대한 참조로 구성된 EnableRule 정의와 함께 사용되는 규칙을 지정합니다.

<Url> (RibbonDiffXml)

지정된 주소의 웹 페이지를 여는 작업입니다.

예제

This <Url> (RibbonDiffXml) action passes the Boolean value of ”false” with the name ”test” to a Web resource.

<Actions> <Url Address="$webresource:New_ShowParams.htm">  <BoolParameter Name="test"                 Value="false"/> </Url></Actions>

요소 정보

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/JavaScriptFunction/BoolParameter |
//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url/BoolParameter |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/CustomRule/BoolParameter |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/CustomRule/BoolParameter |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/CustomRule/BoolParameter |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/CustomRule/BoolParameter

Schema Name

BoolParameterType or BoolNamedParameterType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

참고 항목

기타 리소스

명령 및 리본 사용자 지정
Ribbon XML reference

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