Click or drag to resize

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.5.94
Syntax
string[] Publish(
	IPublishingTarget pubTarget,
	IPageVersion page,
	IPresentationFormatter formatter,
	bool fullPublish
)

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: String
Physical location of published markup template files
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen Publishing Target is not specified
See Also