Udostępnij za pośrednictwem


Publish request schema

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

The following is the schema definition for the PublishXmlRequest message. For more information, see Publish customizations. You can find this schema in the SDK\Schemas\ParameterXml.xsd file in the SDK package. Download the Microsoft Dynamics CRM SDK package.

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>

See Also

PublishXmlRequest
Publish customizations
Schemas used in Microsoft Dynamics 365

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright