Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPublishablePresentationTemplateManager.PreviewPresentationTemplate Method 

Previews the IPresentationTemplate and copies it to a preview target set internally by Content Server.

void PreviewPresentationTemplate(
   IPresentationTemplate presentationTemplate
);

Parameters

presentationTemplate
The Presentation Template to be previewed; cannot be null.

Remarks

The preview URL can be retrieved via IPresentationTemplate.PreviewURL property. An InvalidOperationException will be thrown if there is an IDataEntryTemplate associated with this Presentation Template.

Refer to the Administrator Guide for Content Server for more details about previewing.

For an example of using PreviewPresentationTemplate, refer to IPublishablePresentationTemplateManager

Exceptions

Exception Type Condition
ContentSecurityException The user does not have permission to preview the Presentation Template.
InvalidOperationException The Presentation Template has an associated IDataEntryTemplate.
ContentException The method call resulted in a Content Server exception.
SoapException There was a communication problem during the execution of the remote method call.

See Also

IPublishablePresentationTemplateManager Interface | Plumtree.Remote.PRC.Content.PresentationTemplate Namespace