Append to displayed document via "Open" button
Append to displayed document via "Open" button
Currently, it is possible to append by scanning. How could this be done via the open button? Right now, it replaces what is displayed.
Re: Append to displayed document via "Open" button
Hi there,
Thanks for your question.
I am having difficulties understanding what you mean by this.
Could you perhaps further explain this via screenshots or an example please?
Regards,
Hugo Cudd
Technical Support
Thanks for your question.
I am having difficulties understanding what you mean by this.
Could you perhaps further explain this via screenshots or an example please?
Regards,
Hugo Cudd
Technical Support
Re: Append to displayed document via "Open" button
Scanning allows you to append.
Using drag and drop or "Open" button replaces the displayed document with the item selected.
Is there a way to do an append to document like when twain allows?
Re: Append to displayed document via "Open" button
Hi there,
To create an "append to document" scan-like feature, you can do it this way:
Create a custom button in the top bar
https://www.docuvieware.com/guides/aspn ... utton.html
Create a js method that will let your user selects a file
-> https://developer.mozilla.org/en-US/doc ... plications
Ask the client-side to launch a server-side method and send the document
-> https://www.docuvieware.com/guides/aspn ... ction.html
The goal here is to set the file within the parameter "params" of the PostCustomServerAction. For instance, you can convert the user's selected document to a base64 one, to set it in the "params" argument.
Get the loaded file
-> https://www.docuvieware.com/guides/aspn ... tData.html
-> https://www.docuvieware.com/guides/aspn ... vePDF.html
-> https://www.docuvieware.com/guides/aspn ... Image.html
Merge the loaded file and the customer's selection document
-> https://www.gdpicture.com/guides/gdpict ... ream).html
Load the merged document in the viewer
-> https://www.docuvieware.com/guides/aspn ... tream.html
Another workflow that can work:
Every time your user loads or does something to the loaded document, save a copy server-side. When your user will open a new document, you can raise the RegisterOnNewDocumentLoaded event, and send a request to the server thanks to the PostCustomServerAction to merge the new and old document together.
--
If you need any help on that, do not hesitate to ask!
Best regards,
Fabio
To create an "append to document" scan-like feature, you can do it this way:
Create a custom button in the top bar
https://www.docuvieware.com/guides/aspn ... utton.html
Create a js method that will let your user selects a file
-> https://developer.mozilla.org/en-US/doc ... plications
Ask the client-side to launch a server-side method and send the document
-> https://www.docuvieware.com/guides/aspn ... ction.html
The goal here is to set the file within the parameter "params" of the PostCustomServerAction. For instance, you can convert the user's selected document to a base64 one, to set it in the "params" argument.
Get the loaded file
-> https://www.docuvieware.com/guides/aspn ... tData.html
-> https://www.docuvieware.com/guides/aspn ... vePDF.html
-> https://www.docuvieware.com/guides/aspn ... Image.html
Merge the loaded file and the customer's selection document
-> https://www.gdpicture.com/guides/gdpict ... ream).html
Load the merged document in the viewer
-> https://www.docuvieware.com/guides/aspn ... tream.html
Another workflow that can work:
Every time your user loads or does something to the loaded document, save a copy server-side. When your user will open a new document, you can raise the RegisterOnNewDocumentLoaded event, and send a request to the server thanks to the PostCustomServerAction to merge the new and old document together.
--
If you need any help on that, do not hesitate to ask!
Best regards,
Fabio
Who is online
Users browsing this forum: No registered users and 0 guests