Hi Support,
I write the SFDT data(JSON) in my database and I want to know how I can do to generate a PDF based only on this data that is in JSON format that is saved in my database.
Sorry my inglish is bad!!
// To restore dependent packages
> dotnet restore
// To run the sample
> dotnet run |
How can I convert SFDT data (JSON) into a PDF on the backend, particularly in node.js?
Hi Jeet,
We are sorry to say that, we dont have support for nodejs backend and we are requesting to use the AS.NET core or MVC api in order to convert a SFDT to pdf.
Please check below documentation
https://ej2.syncfusion.com/documentation/document-editor/how-to/export-document-as-pdf/
Regards,
Suriya M.
how can save file by url in my firebase and postgre database as pdf in documenteditor component on clientside im using reactjs and on server django
Hi fatimabatool,
Client-side
You can export the document as PDF in client side. all pages will be converted to image and inserted as pdf pages(works like print as PDF). There is one limitation we can’t search the text because we are exporting the pdf as image.
Documentation: Export document as pdf in React Document editor component | Syncfusion
Sample : 4mjw5d (forked) - StackBlitz
Server-side:
Document Editor requires server-side dependicey and it can be used only in Core, MVC & Java frameworks alone. django is not supported. Document that are created in the front end can be exported as blob which can be saved a web API call. You can store the stream into google cloud storage.
We have provided the server-side sample code in C#. you can achieve the same using Django.
Documentation: Save document to Google Cloud Storage in EJ2 React Document editor control | Syncfusion
Regards,
Dhanush Sekar
I dont get why we should implement the endpoint ourselves, why not include this feature in the document server ?
Hi Salman,
Since the exporting of Pdf requires additional steps involved in making it successful. Providing the endpoint in the existing Docker image in the dockerhub will cause setup errors.
https://help.syncfusion.com/file-formats/docio/faq#how-to-copy-necessary-fonts-to-linux-containers
https://help.syncfusion.com/file-formats/docio/faq#how-to-resolve-libskiasharp-not-found-exception
Regards,
Kesavan.