Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IPublishablePresentationTemplateManager.PublishPresentationTemplate Method 

Publishes the IPresentationTemplate and copies it to a publishing target set in Publisher.

void PublishPresentationTemplate(
   IPresentationTemplate presentationTemplate
);

Parameters

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

Remarks

This method should be called prior to retrieving the publish URL via IPresentationTemplate.PublishURL property, otherwise an InvalidOperationException will be thrown. An InvalidOperationException will also be thrown if the IPresentationTemplate has an associated IDataEntryTemplate. IPresentationTemplate.GetAttachedDataEntryTemplate can be used to check this.

Refer to the Administrator Guide for AquaLogic Interaction Publisher for more details about publishing.

For an example of using PublishPresentationTemplate, refer to IPublishablePresentationTemplateManager

Exceptions

Exception Type Condition
ContentSecurityException The user does not have permission to publish the item.
InvalidOperationException The Presentation Template has an associated IDataEntryTemplate.
ContentException The method call resulted in a Publisher exception. This includes situations where the attached IPresentationTemplate contains invalid template text.
SoapException There was a communication problem during the execution of the remote method call.

See Also

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