Page 1 of 1

Save document at server side physically using API

Posted: Wed Sep 13, 2023 5:40 pm
by satish.trivedi
If we have deleted or added few pages from UI/JavaScript methods then how can we save that document (edited pdf with less pages) at server side physically? Is there any Web API available for this?

Like in below code we have removed selected page, however, how to save edited file at server side?

let selectedPage = docViewer.getFocusedIndex();
imageViewer.get_Images().removeAt(selectedPage);

Re: Save document at server side physically using API

Posted: Thu Sep 14, 2023 12:38 pm
by Alex
Hello,

Current version (12.2.7.1) of VintaSoft Web Document Viewer does not allow to delete pages from source multipage document (file stored on server).

You can create necessary web actions by yourself because VintaSoft Imaging .NET SDK (.NET code on server side) allows to delete pages from multipage document.

Let me know if you will have any question or problem

Best regards, Alexander

Re: Save document at server side physically using API

Posted: Thu Sep 14, 2023 3:52 pm
by Alex
In version 12.2.8.1 we will add the WebDocumentViewerJS.removePage function. This function allows to remove page from multipage image file or multipage document on server.

For solving your task you will need to do the following steps:
  • Delete pages from file.
  • Download file from server.
Best regards, Alexander

Re: Save document at server side physically using API

Posted: Tue Oct 03, 2023 12:45 pm
by chintan.shah
Hi Alex,

We found on 25-Sep, 12.2.8.1 version has been released but as per you we do not found below mentioned functionality available, could you please correct us or let us know when we get this functionality available (in which version)?

Reference link: https://www.vintasoft.com/forums/viewto ... 434#p10434

Thanks,
Chintan Shah

Re: Save document at server side physically using API

Posted: Wed Oct 04, 2023 12:45 pm
by Alex
Hi Chintan,

We revised our plans and now the ability to delete pages from document, which is loaded in web document viewer, will be available in VintaSoft Imaging .NET SDK 12.3. We plan to release version 12.3 in November 2023.

Best regards, Alexander

Re: Save document at server side physically using API

Posted: Wed Nov 29, 2023 3:41 pm
by Alex
Hi Chintan,

VintaSoft Imaging .NET SDK 12.3 has been released today. In this version web document viewer can:
  • Remove page, remove pages, swap pages.
  • Save changes (reorder pages, annotations, form fields) in processed document.
  • Export processed document with annotations to PDF or TIFF file.
Best regards, Alexander