Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje31 MAR 20222022 Summercreated 
Christoph01 APR 20222022 Summer

Adding note for different displaying of contents files (Viewer Service/PDF Rendition) DOKU-2487 

Agnieszka04 APR 20222022 SummerrLANG




Excerpt

A library-based client can display a preview of the binary content file.

...

In addition to forms containing the metadata of a DMS object, a preview of the binary content file assigned to it can be displayed. In a client application based on our developer libraries, the content preview is retrieved either via via the VIEWER Service or PDF renditions.

It is also possible to compare those previews for two different binary content files - either belonging .  They can either belong to two different DMS objects or to two different versions of the same object.

...

  • If possible, the VIEWER service is always used.
    >>  Formats supported by the VIEWER Service
  • If the format is not supported by the VIEWER service, a PDF rendition is requested and displayed if the format is supported.
    >> GET /api/dms/objects/{objectId}/contents/renditions​/pdf
    Note: A PDF rendition can only be retrieved only for binary content files assigned to the current version of a DMS objects. This can have an effectobject. This means that only the preview of the current version will be displayed, when comparing different versions of a DMS -Object, and the format of its object containing a content file whose format is not supported by the Viewer VIEWER Service, but only by the PDF rendition. In this case, only the preview for the current version will be displayed.  

If the format is neither supported by VIEWER nor RENDITION service, no content preview can be displayed.

...