Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IContentItemManager.PreviewContentItem Method 

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

void PreviewContentItem(
   IContentItem contentItem
);

Parameters

contentItem
The content item to be previewed; cannot be null.

Remarks

The preview URL can be retrieved via IContentItem.PreviewURL property. An InvalidOperationException will be thrown if the IDataEntryTemplate of the item does not have an attached IPresentationTemplate. A ContentException will be thrown if the attached IPresentationTemplate contains invalid template text.

Refer to the Administrator Guide for AquaLogic Interaction Publisher for more details about previewing content items.

Exceptions

Exception Type Condition
ContentSecurityException The user does not have permission to preview the item.
InvalidOperationException The content item's IDataEntryTemplate does not have an attached IPresentationTemplate.
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

IContentItemManager Interface | Plumtree.Remote.PRC.Content.Item Namespace