A library-based client can display a preview of the binary content file.
Table of Contents
Introduction
The preview of binary content files uses the VIEWER Service and renditions.
It is also possible to compare those previews for two different binary content files - either belonging to two different DMS objects or to two different versions of the same object.
Supported Formats
If the VIEWER service supports the format of the corresponding binary content file, it
>> Formats supported by VIEWER Service
If not supported by the VIEWER service, the endpoint for retrieval of PDF rendition
>> GET /api/dms/objects/{objectId}/contents/renditions/pdf
Note: A PDF rendition can be retrieved only for binary content files assigned to the current version of DMS objects. This can have an effect, when comparing different versions of a DMS-Object, and the format of its content file is not supported by the Viewer Service, but only by the PDF rendition. In this case, only the content file of the current version will be displayed.
If the format is neither supported by VIEWER nor RENDITION service, no content preview can be displayed.