Preview Document API

Do you want to create a native client or integrate with third party applications: webservices are the solution.

Moderator: car031

Posts: 1
Joined: Sun Oct 31, 2021 4:41 pm

Preview Document API

Sun Oct 31, 2021 4:53 pm

Does LogicalDoc provide an api for document preview?
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Preview Document API

Tue Nov 30, 2021 9:50 am

You can use the web-services of the document to work with previews.

The relevant methods are:

Code: Select all

/document/createPdf                                             [Creates the PDF conversion of the given document]
/document/createThumbnail                                [Creates the thumbail of the given document]
/document/getResource                                       [Gets the content of a resource]
/document/thumbnail/{type}/{docpath}          [Gets the thumbnail]
/document/uploadResource                                [Uploads a new resource of the document]

For more information: ... tThumbnail

These methods are also available in the SOAP API

#Note: In the community edition the generation of thumbnails and the preview of documents is only available for some documents.
The commercial editions instead support the preview of a much wider set of formats thanks to the presence of numerous format converters. See the feature matrix comparison

Return to “Web Services”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests