Script functions reference > Script functions in alphabetical order > G > GetPreviewTypeEx

GetPreviewTypeEx
Syntax
GetPreviewTypeEx();
Description
Returns a number, indicating whether the current job is a preview job or not. If the job is a preview job, the number indicates from where the preview job was invoked.
Returns
0
1
The job is invoked from Ad Hoc Correspondence.
2
The job is invoked from a connecter, containing an strs-tm-preview metadata (as HTTP header value).
3
4
Example
See Example 43.
OpenText StreamServe 5.6.2 Updated: 2018-01-26