IPagePresentationCollectionPublish Method
|
Publishes the markup templates of the presentation associated with the given Publishing Target.
The markup templates are to be generated as individual files located under "RenderingTemplates" folder.
It will live in a folder named after the Page's id.
The file names will be the Presentation names, which ".igxt" as extension
Exampledefault.igxt
Namespace: Ingeniux.CMS.PresentationAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxstring[] Publish(
IPublishingTarget pubTarget,
IPageVersion page,
IPresentationFormatter formatter,
bool fullPublish
)
Function Publish (
pubTarget As IPublishingTarget,
page As IPageVersion,
formatter As IPresentationFormatter,
fullPublish As Boolean
) As String()
array<String^>^ Publish(
IPublishingTarget^ pubTarget,
IPageVersion^ page,
IPresentationFormatter^ formatter,
bool fullPublish
)
abstract Publish :
pubTarget : IPublishingTarget *
page : IPageVersion *
formatter : IPresentationFormatter *
fullPublish : bool -> string[] Parameters
- pubTarget IPublishingTarget
- The Publishing Target to publish templates to
- page IPageVersion
- The page content this collection is associated with
- formatter IPresentationFormatter
- The formatter to use to generate the markup templates
- fullPublish Boolean
- Whether it is a full publish, or incremental publish
RemarksFull publish will go into a temporary folder first
Return Value
StringPhysical location of published markup template files
Exceptions
See Also