The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems

Preview Document API

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

Moderator: car031

quyenle
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?
agaspa
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:
https://docs.logicaldoc.com/resources/w ... 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 https://www.logicaldoc.com/features

Return to “Web Services”

Who is online

Users browsing this forum: No registered users and 2 guests

× Attention! This forum has been dismissed and will be soon removed. The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems.