다음을 통해 공유


<DisplayRule> (RibbonDiffXml)

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

리본 요소를 표시하는 데 사용되는 규칙의 정의 또는 명령 정의의 DisplayRule에 대한 참조를 지정합니다.

참고

The DisplayRule element child elements are only valid when it is a grandchild of <RuleDefinitions> (RibbonDiffXml).

구문

<CommandDefinition>
 <DisplayRules>
  <DisplayRule
   Id="String"
  />
 </DisplayRules>
</CommandDefinition>
<RuleDefinitions>
 <DisplayRules>
  <DisplayRule 
   Id="String">
   <CommandClientTypeRule />
   <CrmClientTypeRule />
   <CrmOfflineAccessStateRule />
   <CrmOutlookClientTypeRule />
   <CrmOutlookClientVersionRule />
   <EntityPrivilegeRule />
   <EntityPropertyRule />
   <EntityRule />
   <FormEntityContextRule />
   <FormStateRule />
   <FormTypeRule />
   <HideForTabletExperienceRule />
   <MiscellaneousPrivilegeRule />   <OptionSetRule />
   <OrganizationSettingRule />
   <OrRule />
   <OutlookRenderTypeRule />
   <OutlookVersionRule />
   <PageRule />
   <ReferencingAttributeRequiredRule />
   <RelationshipTypeRule />
   <SkuRule />
   <ValueRule />
  </DisplayRule>
 </DisplayRules>
</RuleDefinitions>

특성 및 요소

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

특성

Attribute Description Type Usage

Id

Either:

  • A unique identifier for the definition of a Display Rule

  • A reference to the Id value of a definition of a Display Rule.

String

Required

하위 요소

Element Description

<CommandClientTypeRule> (RibbonDiffXml)

사용되는 프레젠테이션의 유형을 검색하는 규칙을 지정합니다.

<CrmClientTypeRule> (RibbonDiffXml)

Microsoft Dynamics CRM 클라이언트의 유형을 검색하는 규칙을 지정합니다.

<CrmOutlookClientTypeRule> (RibbonDiffXml)

Microsoft Office Outlook용 Microsoft Dynamics CRM 클라이언트의 유형을 검색하는 규칙을 지정합니다.

<CrmOfflineAccessStateRule> (RibbonDiffXml)

Outlook용 Microsoft Dynamics CRM(오프라인 액세스 가능)이 현재 오프라인으로 작동 중인지 여부를 검색하는 데 사용할 수 있는 규칙을 지정합니다.

<EntityPrivilegeRule> (RibbonDiffXml)

특정 엔터티에 대한 현재 사용자의 권한을 검색할 수 있는 규칙을 지정합니다.

<EntityPropertyRule> (RibbonDiffXml)

특정 부울 엔터티 속성을 검색할 수 있는 규칙을 지정합니다.

<EntityRule> (RibbonDiffXml)

특정 엔터티가 컨텍스트에 있는지 여부를 검색할 수 있는 규칙을 지정합니다.

<FormEntityContextRule> (RibbonDiffXml)

양식 리본이 특정 엔터티의 컨텍스트에 표시되는지 여부를 검색할 수 있는 규칙을 지정합니다.

<FormStateRule> (RibbonDiffXml)

양식의 상태를 검색할 수 있는 규칙을 지정합니다.

<FormTypeRule> (RibbonDiffXml)

Microsoft Dynamics CRM 양식의 유형을 검색하는 규칙을 지정합니다.

<HideForTabletExperienceRule> (RibbonDiffXml)

웹 응용 프로그램이 태블릿 장치의 모바일 브라우저에 표시될 때 false를 반환하는 규칙을 지정합니다.

<MiscellaneousPrivilegeRule> (RibbonDiffXml)

사용자가 특정 Microsoft Dynamics CRM 권한을 소유하는지 여부를 검색할 수 있는 규칙을 지정합니다.

<OptionSetRule> (RibbonDiffXml)

내부 전용입니다.

<OrganizationSettingRule> (RibbonDiffXml)

DisplayRule 내에서 두 개의 특정 조직 설정을 검색할 수 있는 규칙입니다.

<OrRule> (RibbonDiffXml)

규칙 모음의 규칙 중 하나라도 참으로 평가되면 이 규칙이 true로 평가되도록 규칙 모음이 포함된 규칙입니다.

<OutlookRenderTypeRule> (RibbonDiffXml)

리본 요소를 표시해야 하는지 여부를 결정하기 위해 양식 또는 목록 항목이 웹 페이지로 렌더링되는지 아니면 Outlook에서 기본으로 렌더링되는지를 검색할 수 있는 규칙입니다.

<OutlookVersionRule> (RibbonDiffXml)

Microsoft Office Outlook 클라이언트의 버전을 검색하는 규칙입니다.

<PageRule> (RibbonDiffXml)

현재 페이지의 주소를 평가하는 규칙입니다.

<ReferencingAttributeRequiredRule> (RibbonDiffXml)

엔터티에 대한 참조 특성이 필요한지 여부를 검색하는 규칙입니다.

<RelationshipTypeRule> (RibbonDiffXml)

두 엔터티 간에 특정 유형의 공식 엔터티 관계가 있는지 여부를 검색하는 규칙입니다.

<SkuRule>(RibbonDiffXml)

Microsoft Dynamics CRM 버전을 검색하는 규칙입니다.

<ValueRule> (RibbonDiffXml)

특정 필드의 값을 검색하는 규칙입니다.

상위 요소

Element Description

<DisplayRules> (RibbonDiffXml)

표시 규칙의 모음이 들어 있습니다.

설명

The <DisplayRules> (RibbonDiffXml) element is used as a child of <RuleDefinitions> (RibbonDiffXml) and <CommandDefinition> (RibbonDiffXml). When the DisplayRule element is a grandchild of RuleDefinitions it defines a rule and supports a variety of child rule elements. When DisplayRule is a grandchild of CommandDefinition, it simply references the DisplayRule definition using the Id attribute.

요소 정보

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/DisplayRules/DisplayRule |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule

Schema Name

  • DisplayRulesType/DisplayRule

  • ReferenceDisplayRuleType

Validation File

RibbonTypes.xsd

Can be Empty

When a grandchild of <CommandDefinition> (RibbonDiffXml)

참고 항목

기타 리소스

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

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