<Or> (RibbonDiffXml)

適用対象: CRM 2016 on-prem, CRM Online

一緒に評価する必要のある一連のルールを指定します。

構文

<OrRule>
 <Or >
  <CommandClientTypeRule />
  <CrmClientTypeRule />
  <CrmOfflineAccessStateRule/>
  <CrmOutlookClientTypeRule/>
  <CrmOutlookClientVersionRule/>
  <EntityPrivilegeRule/>
  <EntityPropertyRule/>
  <EntityRule/>
  <FormEntityContextRule/>
  <FormStateRule/>
  <MiscellaneousPrivilegeRule/>  <OptionsSetRule />
  <OrganizationSettingRule/>
  <OutlookRenderTypeRule/>
  <OutlookVersionRule/>
  <PageRule/>
  <ReferencingAttributeRequiredRule/>
  <RelationshipTypeRule/>
  <SkuRule/>
  <ValueRule/>
 </Or>
</OrRule>

属性と要素

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

属性

この要素には属性はありません。

下位要素

Element Description

<CommandClientTypeRule> (RibbonDiffXml)

使用される表示の種類を検出するルールを指定します。

<CrmClientTypeRule> (RibbonDiffXml)

Microsoft Dynamics CRM Client の種類を検出するルールを指定します。

<CrmOutlookClientTypeRule> (RibbonDiffXml)

Microsoft Office Outlook 用 Microsoft Dynamics CRM Client の種類を検出するルールを指定します。

<CrmOfflineAccessStateRule> (RibbonDiffXml)

オフライン アクセス対応 Outlook 用 Microsoft Dynamics CRM が現在オフラインで動作しているかどうかを検出するために使用できるルールを指定します。

<CustomRule> (RibbonDiffXml)

JavaScript ライブラリ内の関数への参照で構成される EnableRule 定義で使用されるルールを指定します。

When descendant of <EnableRule> (RibbonDiffXml).

<EntityRule> (RibbonDiffXml)

特定のエンティティがコンテキスト内に含まれているかどうかを検出するルールを指定します。

<EntityPrivilegeRule> (RibbonDiffXml)

特定のエンティティの現在のユーザーのアクセス許可を検出するルールを指定します。

When descendant of <DisplayRule> (RibbonDiffXml).

<EntityPropertyRule> (RibbonDiffXml)

ブール型の特定のエンティティのプロパティを検出するルールを指定します。

When descendant of <DisplayRule> (RibbonDiffXml).

<FormEntityContextRule> (RibbonDiffXml)

特定のエンティティのコンテキストにフォーム リボンが表示されるかどうかを検出するルールを指定します。

When descendant of <DisplayRule> (RibbonDiffXml).

<FormStateRule> (RibbonDiffXml)

フォームの状態を検出するルールを指定します。

<MiscellaneousPrivilegeRule> (RibbonDiffXml)

ユーザーが Microsoft Dynamics CRM の特定の特権を所有しているかどうかを検出できるルールを指定します。

When descendant of <DisplayRule> (RibbonDiffXml).

<OptionSetRule> (RibbonDiffXml)

内部のみで使用します。

<OrganizationSettingRule> (RibbonDiffXml)

DisplayRule 内の組織の 2 つの特定の設定を検出するルール。

When descendant of <DisplayRule> (RibbonDiffXml).

<OutlookRenderTypeRule> (RibbonDiffXml)

リボン要素を表示する必要があるかどうかを判断するために、フォーム アイテムまたはリスト アイテムが Web ページとして表示されるか、ネイティブに Outlook に表示されるかを検出するルール。

When descendant of <DisplayRule> (RibbonDiffXml).

<OutlookItemTrackingRule> (RibbonDiffXml)

リボン要素を有効にするための Microsoft Dynamics CRM でのアイテムの追跡が有効かどうかを検出するルール。

When descendant of <EnableRule> (RibbonDiffXml).

<OutlookVersionRule> (RibbonDiffXml)

Microsoft Office Outlook Client のバージョンを検出するルール。

<PageRule> (RibbonDiffXml)

現在のページのアドレスを評価するルール。

<RecordPrivilegeRule> (RibbonDiffXml)

リボン要素を有効にするための特定のレコードに対するユーザーの特権を検出するルール。

When descendant of <EnableRule> (RibbonDiffXml).

<ReferencingAttributeRequiredRule> (RibbonDiffXml)

エンティティの参照元属性が必須かどうかを検出するルール。

When descendant of <DisplayRule> (RibbonDiffXml).

<RelationshipTypeRule> (RibbonDiffXml)

エンティティの参照元属性が必須かどうかを検出するルール。

When descendant of <DisplayRule> (RibbonDiffXml).

<SelectionCountRule> (RibbonDiffXml)

グリッドで選択されているアイテム数を検出するルール。

When descendant of <EnableRule> (RibbonDiffXml).

<SkuRule> (RibbonDiffXml)

Microsoft Dynamics CRM のエディションを検出するルール。

<ValueRule> (RibbonDiffXml)

特定のフィールドの値を検出するルール。

親要素

Element Description

<OrRule> (RibbonDiffXml)

ルールのコレクションを格納するルール。これにより、コレクション内のいずれかのルールを true と評価すると、このルールが true と評価されます。

要素情報

XPath

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or

Schema Name

  • OrEnableRuleType/Or

  • OrDisplayRuleType/Or

Validation File

RibbonTypes.xsd

Can be Empty

No

関連項目

他のリソース

Ribbon XML reference
コマンドおよびリボンをカスタマイズする

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