<Area> (SiteMap)

应用到: CRM 2016 on-prem, CRM Online

Specifies the areas that appear in the navigation pane.

语法

<Area
  URL=string
  Id=string
  ShowGroups=true|false>
  <Titles>
  <Descriptions>
  <Group>
</Area>

属性和元素

属性

Attribute Description Type Usage

Description

Deprecated. Use the <Description> (SiteMap) element.

String

Optional

DescriptionResourceID

仅供内部使用。

String

Optional

Icon

Specifies a URL to a 85x71 (width x height) pixel image that will be displayed in the Navigation pane for this area. 详细信息: Add or change icons

String

Optional

Id

Specifies a unique identifier in ASCII. Valid values are a-z, A-Z, 0-9, and underscore (_). Spaces aren’t allowed.

String

Required

License

Deprecated.

String

Optional

ResourceId

仅供内部使用。

String

Optional

ShowGroups

Controls whether groups of sub-areas are shown in the navigation pane. Valid values are true and false.

Boolean

Optional

Title

Deprecated. Use the <Titles> (SiteMap) and <Title> (SiteMap) elements.

String

Optional

Url

Specifies the Dynamics CRM for Outlook URL to render for the Outlook folder that represents the area.

String

Optional

子元素

Element Description

<Titles> (SiteMap)

Contains a set of localized titles for an area.

<Descriptions> (SiteMap)

Contains a set of localized descriptions.

<Group> (SiteMap)

Specifies a group of subareas.

父元素

Element Description

<SiteMap> (SiteMap)

Specifies the root node for the site map.

备注

The application areas in Microsoft Dynamics CRM include Workplace, Sales, Marketing, Customer Service, Settings and Help. New areas can be added or existing Areas can be removed. However, removing the Settings area isn’t recommended. Instead, use privileges to control access to Settings.

The Navigation Pane will not display Area elements without visible SubArea elements. SubArea elements may be hidden from users based on security privileges. If all the SubArea elements in an area are hidden, or none are defined, the area won’t display.

示例

The following shows an example of how to use the Area element.

<Area Id="Custom_Area">
 <Titles>
  <Title LCID="1033" Title="English Area Title"/>
  <Title LCID="1031" Title="German Area Title"/>
 </Titles>
 <Descriptions>
  <Description LCID="1033" Description="English Description"/>
  <Description LCID="1031" Description="German Description"/>
 </Descriptions>
 <Group Id="Custom_Group">
  <SubArea Id="Custom_SubArea" 
   Url="http://my_app/my_page.aspx" 
   AvailableOffline="false" >
   <Titles>
    <Title LCID="1033" Title="English SubArea Title"/>
    <Title LCID="1031" Title="German SubArea Title"/>
   </Titles>
  </SubArea>
 </Group>
</Area>

元素信息

Schema Name

SiteMap

Validation File

SiteMapType.xsd

Number of Occurrences

0 or more

XPath

//SiteMap/SiteMap/Area

另请参阅

概念

使用站点地图更改应用程序导航

其他资源

SiteMap XML reference

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