Publishes the IPresentationTemplate and copies it to a publishing target set in Publisher.
null. 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.
| 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. |
IPublishablePresentationTemplateManager Interface | Plumtree.Remote.PRC.Content.PresentationTemplate Namespace