AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPublishablePresentationTemplateManager.PreviewPresentationTemplate Method

Previews the `IPresentationTemplate` and copies it to a preview target set internally by Publisher.

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 AquaLogic Interaction Publisher 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 Publisher 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