Saving PDF to server

3 posts, 1 answers
  1. SomaSundari
    SomaSundari avatar
    2 posts
    Member since:
    Feb 2019

    Posted 05 Feb 2019 Link to this post

    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. Answer
    Stefan
    Admin
    Stefan avatar
    2913 posts

    Posted 06 Feb 2019 Link to this post

    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
  3. SomaSundari
    SomaSundari avatar
    2 posts
    Member since:
    Feb 2019

    Posted 07 Feb 2019 in reply to Stefan Link to this post

    Thank you Stefan!! It worked :)
Back to Top