IPagePresentationCollectionSerializeForPage Method
|
Produces the XML element that will be injected into Page XML upon publish
Namespace: Ingeniux.CMS.PresentationAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxXElement SerializeForPage(
string pubTgtId = null
)
Function SerializeForPage (
Optional pubTgtId As String = Nothing
) As XElement
XElement^ SerializeForPage(
String^ pubTgtId = nullptr
)
abstract SerializeForPage :
?pubTgtId : string
(* Defaults:
let _pubTgtId = defaultArg pubTgtId null
*)
-> XElement Parameters
- pubTgtId String (Optional)
- The id of the Publishing Target to be published to, if not specified, only serialize
default presentation that applies to all Publishing Targets, which could be null, if not Presentation
is associated with the given target
Return Value
XElementThe generated XML element, or null, if not
Presentation associated with
given
Publishing Target
Example
ExampleSample XML output
<IGX_Presentations>
<DefaultPresentations>
<Presentation ID = "i2nfdkduwl0042ndfiads" Name="Main" ContainerID="mainBody" />
</DefaultPresentations>
</IGX_Presentations>
See Also