Design Center configurations > Platform configuration > Configuring preview output connectors manually

Configuring preview output connectors manually
You can manually create and select the preview output connectors. For example, if the Prerequisites for default preview connectors are not fulfilled or if you want to use settings other than the pre-configured ones.
Which output connectors?
If you want to use the same driver settings for previews and for the final delivery, you can reuse the output connectors used for delivery. At a preview service request, the actual connector is not invoked – only the driver is applied.
As an alternative, you can create output connectors dedicated for the previews. For example, by using the connector type NULL Connector. The preview output connectors must have the following drivers applied:
For information about the drivers required by Composition Center, see Creating output connectors for document previews (optional) in the Composition Center documentation.
Prerequisites and recommendations
Use default preview connectors must be cleared in the Runtime Message settings dialog box. See Service-enabling a Message.
150 DPI (maximum)
To create a preview output connector
To select preview output connectors
For print preview – application/pdf
Example 2
A company wants to use settings other than the ones used by the default preview output connectors, which means they must manually create and select the preview connectors.
The company also wants to use different driver options for the previews in Correspondence Reviewer and in Composition Center.
The Design Center Platform includes the following output connectors in the production layer:
PreviewAdHoc – For the TIFF preview in Ad Hoc Correspondence.
PreviewReviewer – For the PDF preview in Correspondence Reviewer.
PreviewCompC – For the PDF preview in Composition Center.
FileOUT – For the final release of the document.
In the runtime configuration, the Message is service-enabled, and the Use default preview connector option is cleared.
The script below is run before the Process and selects the output connector that is used.
if (IsPreview())
{
$ContentType = GetRequestedPreviewContentType();

if (GetPreviewTypeEx() == 1)
{
if ($ContentType == "image/tiff")
{
$connector = "PreviewAdHoc";
}
else if ($ContentType == "application/pdf")
{
$connector = "PreviewRviewer";
}
}
else if (GetPreviewTypeEx() == 4)
{
$connector = "PreviewCompC";
}

}
else
{
$connector = "FileOUT";
}
preproclog(0, " **** OUTCONNECTOR : " +$connector);
 
 
Related topics
Creating output connectors for document previews (optional) in the Composition Center documentation
OpenText StreamServe 5.6.2 Updated: 2018-01-26