Click or drag to resize

ISettingsSerializeForPubTarget Method


Produces a runtime-only settings document for a specific Publishing Target.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
XElement SerializeForPubTarget(
	IPublishingTarget target
)

Parameters

target
Type: Ingeniux.CMSIPublishingTarget
Publishing target for which to serialize settings

Return Value

Type: XElement
Serialized XML for runtime.
Examples
XML
 <?xml version="1.0" encoding="utf-8"?>
<Settings>
  <Resources>
  <applicationName>Ingeniux CMS</applicationName>
  <autoSave>True</autoSave>
  <maxChildPages>50</maxChildPages>
  </Resources>
  <VersionControl>
  <VersioningOn>True</VersioningOn>
  <VersionLimitOn>True</VersionLimitOn>
  <VersionLimit>7</VersionLimit>
  <SchemaVersionLimit>10</SchemaVersionLimit>
  </VersionControl>
  <Publish>
  <EnableMobileDevices>true</EnableMobileDevices>
  <MediaServerDirectories></MediaServerDirectories>
  <AutoPublishComponents>false</AutoPublishComponents>
  </Publish>
  <Logging>
  <MaxFileSizeKB>1024</MaxFileSizeKB>
  <MaxKeptArchives>1000</MaxKeptArchives>
  <DesignTimeLogLevel></DesignTimeLogLevel>
  </Logging>
  <SiteProperties>
  <DefaultLocale>en-us</DefaultLocale>
  <UsePageCompTypes>False</UsePageCompTypes>
  </SiteProperties>
  <WorldView>
  <ContentLocaleChoices>en-us</ContentLocaleChoices>
  <EnableWorldView>False</EnableWorldView>
  </WorldView>
  <TimeZones>
  <AvailableTimeZonesForTimeField></AvailableTimeZonesForTimeField>
  </TimeZones>
  <InContextEditing>
  <Enabled>True</Enabled>
  <HtmlEditorMatchPreviewStyle>True</HtmlEditorMatchPreviewStyle>
  <FieldMarkerColor>#3064b7</FieldMarkerColor>
  <InvokedFieldMarkerColor>#ff8000</InvokedFieldMarkerColor>
  <BaseZIndex>100</BaseZIndex>
  </InContextEditing>
  <FileLocations>
  <ExternalImageURLPrefix></ExternalImageURLPrefix>
  <ExternalMediaURLPrefix></ExternalMediaURLPrefix>
  <ExternalDocumentURLPrefix></ExternalDocumentURLPrefix>
  <DocumetLocation></DocumetLocation>
  <PrebuiltLocation></PrebuiltLocation>
  <ImageLocation></ImageLocation>
  <MediaLocation></MediaLocation>
  </FileLocations>
  <Presentations>
  <Formatter></Formatter>
  </Presentations>
  <TaxonomySystem>
  <CopyCategorizationOnPageCopy>False</CopyCategorizationOnPageCopy>
  </TaxonomySystem>
  <StructuredURL>
  <UseStructuredURL>true</UseStructuredURL>
  <AutoRedirectToCanonical>true</AutoRedirectToCanonical>
  <UseLowerCaseURL>false</UseLowerCaseURL>
  <HomePageID>x2</HomePageID>
  <NotFoundID>x56</NotFoundID>
  <URLExtension></URLExtension>
  <URLSeparator>-</URLSeparator>
  <IncludeFoldersInURL>false</IncludeFoldersInURL>
  <BaseURL></BaseURL>
  </StructuredURL>
</Settings>
See Also