Guidance Needed: Best Format for Storing Drag-and-Drop Invoice Templates and Generating PDFs

1 Answer 57 Views
Drag and Drop
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Tejas asked on 28 Aug 2024, 01:27 PM

I'm developing a system using React where users can create invoice templates using a drag-and-drop interface. I need help with the following:

  1. Template Storage Format: What is the best format for storing these templates on the backend?

  2. Backend Processing: Once the template is stored, the backend should be able to:

    • Receive the invoice amount and other relevant details.
    • Map these details to the selected template.
    • Generate a PDF based on the populated template.

Could you suggest an approach for handling these tasks effectively?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 30 Aug 2024, 09:32 AM

Hi Tejas,

Based on the provided information, I have to say that the Drag & Drop component from the KendoReact packages is responsible for the drag & drop only and how it is used afterward is up to the developer and their exact requirement.

Additionally, the KendoReact is UI library and it does not provide any options for server-side PDF export. This is possible only with our Document Processing Product:

As for storing your templates, one thing that is commonly used is to store the structure of your layout in some kind of JSON format, but once again, this is not related with our products and the implementation will highly depend on the exact scenario and project requirements.

If any questions related with the KendoReact suite arise, do not hesitate to contact us again. 

 

Regards,
Konstantin Dikov
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

Tags
Drag and Drop
Asked by
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or