Publish request schema
应用到: CRM 2015 on-prem, CRM Online
The following is the schema definition for the PublishXmlRequest message. For more information, see 发布自定义项. You can find this schema in the SDK\Schemas\ParameterXml.xsd file in the SDK package. 下载 Microsoft Dynamics CRM SDK 包。
Schema
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="importexportxml">
<xs:complexType>
<xs:sequence>
<xs:element name="entities"
minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0"
maxOccurs="unbounded">
<!-- Name of the entity to publish-->
<xs:element maxOccurs="unbounded"
name="entity"
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ribbons"
minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0"
maxOccurs="unbounded">
<!-- Application ribbon. : This value is not used. We publish the application ribbon if there is at least one <ribbon> node present -->
<xs:element maxOccurs="unbounded"
name="ribbon"
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dashboards"
minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0"
maxOccurs="unbounded">
<!-- Guid of the systemform to publish-->
<xs:element maxOccurs="unbounded"
name="dashboard"
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="optionsets"
minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0"
maxOccurs="unbounded">
<!-- Name of the optionset to publish-->
<xs:element maxOccurs="unbounded"
name="optionset"
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sitemaps"
minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0"
maxOccurs="unbounded">
<!-- Guid of the sitemap to publish : This value is not used. We publish the sitemap if there is at least one <sitemap> node present-->
<xs:element maxOccurs="unbounded"
name="sitemap"
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="webresources"
minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0"
maxOccurs="unbounded">
<!-- Guid of the web resource to publish -->
<xs:element maxOccurs="unbounded"
name="webresource"
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
另请参阅
参考
概念
其他资源
Schemas used in Microsoft Dynamics CRM
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.