This is a migrated thread and some comments may be shown as answers.

Saving PDF to server

2 Answers 625 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
SomaSundari
Top achievements
Rank 1
SomaSundari asked on 05 Feb 2019, 09:02 AM

Hi,

I am exporting a PDF using @progress/kendo-drawing in Client side(React js)

I have a requirement to save the same file in server(Node js).

Could you please let me know how to export the same PDF to server

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 06 Feb 2019, 07:09 AM
Hello,

In this case, I can suggest converting the PDF to a base64 string and sending on the server:

https://www.telerik.com/kendo-react-ui/components/pdfprocessing/base64string/

Then on the node.js server different approaches can be used to convert and export the document.

This is the first option that I found and they are many more:

https://www.npmjs.com/package/base64topdf

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
SomaSundari
Top achievements
Rank 1
answered on 07 Feb 2019, 10:55 AM
Thank you Stefan!! It worked :)
Tags
Wrappers for React
Asked by
SomaSundari
Top achievements
Rank 1
Answers by
Stefan
Telerik team
SomaSundari
Top achievements
Rank 1
Share this question
or