<SubArea> (SiteMap)
適用於: CRM 2016 on-prem, CRM Online
Specifies a navigation option within an <Area> (SiteMap). Defines what will be displayed in the main pane of the application when selected.
語法
<SubArea
AvailableOffline=["0" | "1" | "true" | "false"]
CheckExtensionProperty="String"
Client=["All" | "Outlook" | "OutlookLaptopClient" | "OutlookWorkstationClient" | "Web" ]
Description="String"
DescriptionResourceId="String"
Entity="String"
GetStartedPanePath="String"
GetStartedPanePathAdmin="String"
GetStartedPanePathAdminOutlook="String"
GetStartedPanePathOutlook="String"
Icon="String"
Id="String"
License="String"
OutlookShortcutIcon="String"
PassParams=["0" | "1" | "true" | "false"]
ResourceId="String"
Sku=["All" | "OnPremise" | "Live" | "SPLA"]
Title="String"
Url="String">
<Titles />
<Descriptions />
<Privilege/>
</SubArea>
屬性和元素
The following table lists the attributes, child elements, and parent elements.
屬性
Attribute | Description | Type | Usage |
---|---|---|---|
AvailableOffline |
Controls whether SubArea is available offline. |
Boolean |
Optional |
CheckExtensionProperty |
僅供內部使用。 |
String |
Optional |
Client |
Specifies the type of client. Default: All Valid values:
Multiple values can be used as long as they are separated by a comma and do not contain spaces. There is not a separate value for 平板電腦用 Microsoft Dynamics CRM. Setting this to All or Web will not filter the display of this SubArea in the 平板電腦用 CRM client. |
String |
Optional |
Description |
Deprecated. Use the SubArea/Descriptions/Description element instead. |
String |
Optional |
DescriptionResourceId |
僅供內部使用。 Use the SubArea/Descriptions/Description element instead. |
String |
Optional |
DefaultDashboard |
Specifies the GUID for default dashboard to be displayed for this subarea. |
String |
Optional |
Entity |
Specifies the name for the entity. A valid value has a length greater then 1. If a Url is not specified, the default view of the specified entity will be displayed. |
String |
Optional |
GetStartedPanePath |
The Get Started Pane was removed from Microsoft Dynamics CRM 2013 and the Microsoft Dynamics CRM Online Fall '13 Service Update. |
String |
Optional |
GetStartedPanePathAdmin |
The Get Started Pane was removed from Microsoft Dynamics CRM 2013 and the Microsoft Dynamics CRM Online Fall '13 Service Update. |
String |
Optional |
GetStartedPanePathAdminOutlook |
The Get Started Pane was removed from Microsoft Dynamics CRM 2013 and the Microsoft Dynamics CRM Online Fall '13 Service Update. |
String |
Optional |
GetStartedPanePathOutlook |
The Get Started Pane was removed from Microsoft Dynamics CRM 2013 and the Microsoft Dynamics CRM Online Fall '13 Service Update. |
String |
Optional |
Icon |
Specifies a URL for an 18x18 pixel image to display for the SubArea. |
String |
Optional |
Id |
A unique identifier for this SubArea element. Valid values: a-z, A-Z, 0-9, and underscore (_) |
String |
Required |
License |
Deprecated. |
String |
Optional |
OutlookShortcutIcon |
Specifies the icon to display in Microsoft Dynamics CRM for Outlook. |
String |
Optional |
PassParams |
Specifies whether information about the organization and language context are passed to the URL. |
Boolean |
Optional |
ResourceId |
For internal use only. Use the SubArea/Titles/Title element to set the text to display for this SubArea. |
String |
Optional |
Sku |
Specifies the versions of Microsoft Dynamics CRM that displays this SubArea. Default: All Valid values:
Multiple values can be used as long as they are separated by a comma and do not contain spaces. |
String |
Optional |
Title |
Deprecated. Use the SubArea/Titles/Title element instead. |
String |
Optional |
Url |
Specifies a URL or HTML Web Resource for a page to display in the main frame of the application when this subarea is selected. |
String |
Optional |
子元素
Element | Description |
---|---|
Controls whether a subarea is displayed based on privileges available in any security roles assigned to the user. |
上層元素
Element | Description |
---|---|
Specifies a group of subareas. Groups can be shown or hidden as defined by the area. Groups defined within the Workplace area can be marked as a user selectable profile. These profiles are available for users to select in their personal options. |
備註
The SubArea element must contain a <Titles> (SiteMap) element or a valid Title attribute for the user language or a value for the ResourceId attribute.
For Dynamics CRM for Outlook, titles must be defined through the <Titles> (SiteMap) element, the Entity, or the ResourceId attribute value and must be unique within the parent group.
More than one instance of the same pages may occur. Therefore, you must make sure that each belongs to different combinations of clients and offline modes.
These changes affect the structure of Dynamics CRM for Outlook shortcuts and the Web client Go To menu.
The OutlookWorkstationClientClient attribute value refers to Dynamics CRM for Outlook.
The OutlookLaptopClientClient attribute value refers to Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access.
範例
The following shows an example of how to use the SubArea element.
<SubArea Id="nav_dashboard" PassParams="1"
Url="$webresource:MyIsv_/navDashboard.htm" >
<Titles>
<Title LCID="1033" Title="Dashboard" />
</Titles>
</SubArea>
When referring to an HTML or Image Web Resource use the web resource directive and the HTML or Image Web Resource name. “$webresource:+ Web resource name.”. This creates a dependency so the HTML or Image Web Resource cannot be removed while the SubArea is referencing it.
元素資訊
Schema Name |
SubArea |
Validation File |
SiteMapType.xsd |
Number of Occurrences |
0 or more |
XPath |
|
請參閱
概念
其他資源
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.