• PreviewTIFF – For the preview in Ad Hoc Correspondence. The application requires content type image/tiff.
• PreviewPDF – For the preview in Correspondence Reviewer and Composition Center. The applications require content type application/pdf.
• 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 (GetPreviewType() = 1)
{
if ($ContentType = "image/tiff")
{
$connector = "PreviewTIFF";
}
else if ($ContentType = "application/pdf")
{
$connector = "PreviewPDF";
}
}
}
else
{
$connector = "FileOUT";
}
preproclog(0, " **** OUTCONNECTOR : " +$connector);
• Preview functions in the Scripting Reference
OpenText StreamServe 5.6 | Updated: 2013-03-01 |