Click or drag to resize

IPublishingManagerPublishingProfilesSerialize Method


Produces the XML serialization of the Publishing Profiles collection. The result matches the XML format of PublishingProfiles.xml prior to CMS 9.0.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
XElement PublishingProfilesSerialize()

Return Value

Type: XElement
XML serialization of publishing profiles and the publishing targets they include.
Examples
Example of publishing profiles serialization:
XML
 <PublishingProfiles >
   <PubProfile ID="PublishingProfile/43" Name="Production for All Languages">
    <BlockedAccess>
      <Group ID="UserGroups/125" />
    </BlockedAccess>
    <PubTarget ID="PublishingTargets/1" />
    <PubTarget ID="PublishingTargets/6" />
  </PubProfile>  
</PublishingProfiles>
See Also