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.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 Ad Hoc Correspondence unpaginated preview – HTML unpaginatedFor information about the drivers required by Composition Center, see Creating output connectors for document previews (optional) in the Composition Center documentation.
• Use default preview connectors must be cleared in the Runtime Message settings dialog box. See Service-enabling a Message.
• The driver settings affect the performance of the service request responses.
For the PDF and TIFF drivers, we recommend the following values:
150 DPI (maximum)
•
• Ad Hoc Correspondence – image/tiff
• Correspondence Reviewer – application/pdf
– For print preview – application/pdf
– For email/web preview – text/html
• 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.
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);
• Creating output connectors for document previews (optional) in the Composition Center documentation
| OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |