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
Examples default.igxt
Namespace:
Ingeniux.CMS.Presentation
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax string[] 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
- Type: Ingeniux.CMSIPublishingTarget
The Publishing Target to publish templates to - page
- Type: Ingeniux.CMSIPageVersion
The page content this collection is associated with - formatter
- Type: Ingeniux.CMS.PresentationIPresentationFormatter
The formatter to use to generate the markup templates - fullPublish
- Type: SystemBoolean
Whether it is a full publish, or incremental publish
Remarks Full publish will go into a temporary folder first
Return Value
Type:
StringPhysical location of published markup template files
Exceptions See Also