The PreviewURLManager component maintains a list of preview URLs and is created from this class:

atg.service.preview.PreviewManager

This component includes the following properties:

Property

Description

previewURLs

A list of PreviewURL components. This property determines which URLs are displayed to Asset Manager or ATG Content Administration users in the Preview Launcher dialog, for previewing project assets.

defaultNoAssetPreviewURL

A PreviewURL component. This property specifies the preview URL that is used when a user clicks the Layout button in Merchandising when no asset is selected for editing in the Details pane.

If this property is not set, the default preview URL is specified by the defaultPreviewURL property. If defaultPreviewURL is also not set, the default preview URL is the first URL in the previewURLs list that does not include a $[template.url] property.

defaultPreviewURL

A PreviewURL component. This property specifies the preview URL that is used when a user clicks the Layout button in Merchandising when an asset is currently selected for editing in the Details pane.

If this property is not set, the default preview URL is specified by the defaultNoAssetPreviewURL property. If defaultNoAssetPreviewURL is also not set, the default preview URL is the first URL in the previewURLs list that does not include a $[template.url] property.

The preview URLs specified by defaultNoAssetPreviewURL and defaultPreviewURL should not contain any asset-specific parameters; ideally, they should point to the home page of the preview site. For more information, see Preview URL Parameters.