<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:
|
String |
Required |
下位要素
Element | Description |
---|---|
使用される表示の種類を検出するルールを指定します。 |
|
Microsoft Dynamics CRM Client の種類を検出するルールを指定します。 |
|
Microsoft Office Outlook 用 Microsoft Dynamics CRM Client の種類を検出するルールを指定します。 |
|
オフライン アクセス対応 Outlook 用 Microsoft Dynamics CRM が現在オフラインで動作しているかどうかを検出するために使用できるルールを指定します。 |
|
特定のエンティティの現在のユーザーのアクセス許可を検出するルールを指定します。 |
|
ブール型の特定のエンティティのプロパティを検出するルールを指定します。 |
|
特定のエンティティがコンテキスト内に含まれているかどうかを検出するルールを指定します。 |
|
特定のエンティティのコンテキストにフォーム リボンが表示されるかどうかを検出するルールを指定します。 |
|
フォームの状態を検出するルールを指定します。 |
|
Microsoft Dynamics CRM のフォームの種類を検出するルールを指定します。 |
|
Web アプリケーションをタブレット デバイスのモバイル ブラウザーで表示するときに false を返すルールを指定します。 |
|
ユーザーが Microsoft Dynamics CRM の特定の特権を所有しているかどうかを検出できるルールを指定します。 |
|
内部のみで使用します。 |
|
DisplayRule 内の組織の 2 つの特定の設定を検出するルール。 |
|
ルールのコレクションを格納するルール。これにより、コレクション内のいずれかのルールを true と評価すると、このルールが true と評価されます。 |
|
リボン要素を表示する必要があるかどうかを判断するために、フォーム アイテムまたはリスト アイテムが Web ページとして表示されるか、ネイティブに Outlook に表示されるかを検出するルール。 |
|
Microsoft Office Outlook Client のバージョンを検出するルール。 |
|
現在のページのアドレスを評価するルール。 |
|
エンティティの参照元属性が必須かどうかを検出するルール。 |
|
特定の種類の正式なエンティティの関連付けが 2 つのエンティティ間に存在するかどうかを検出するルール。 |
|
Microsoft Dynamics CRM のエディションを検出するルール。 |
|
特定のフィールドの値を検出するルール。 |
親要素
Element | Description |
---|---|
表示ルールのコレクションを格納します。 |
備考
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 |
|
Schema Name |
|
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.