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

GetRequestedPreviewContentType
Syntax
GetRequestedPreviewContentType();
Description
This function is only available for preview calls from web service clients.
Returns a string containing an optionally requested content type for a response to a preview request. The returned value can be used to select an appropriate connector for the preview Process.
Returns
A string containing the content type requested by a web service client. If no content type is requested, an empty string is returned.
Example
See Example 43.
OpenText StreamServe 5.6.2 Updated: 2018-01-26