How can i create a PDF from a dataset?

I have a dataset with multiple items .Each item have lots of fields (ex Title ,description, adress…)
For each item i have a dynamic page that displays information about the item.

I want to create a PDF with all the fields from the dataset for the selected item.
Is there any way to generate such PDF? If so, can someone help me with the code and the generation process?

I would appreciate any help , I cant find anything by myself.
Here is a picture with the dynamic page:

I hope you guys can help me. Sorry for my bad english ,I am from Romania.
PS:I am not that good at code but i am going to learn anything if needed.

Hello,

This issue was raised before. Please check out the related forum posts below:

https://www.wix.com/corvid/forum/community-discussion/generate-pdf
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-pdf-generator
https://www.wix.com/corvid/forum/community-discussion/pdf-generator-api-npm-demo
https://www.wix.com/corvid/forum/community-discussion/connect-to-pdf-in-database/p-2
https://www.wix.com/corvid/forum/community-discussion/export-info-to-a-pdf

You can use PDF Generator API to generate PDF documents from Velo database.
You can find tutorial here: https://support.pdfgeneratorapi.com/en/article/how-to-integrate-with-wix-velo-13s8135/

I managed to create and download a PDF using the npm package pdf-lib in combination with the WIX Velo MediaManager API. It is free to use.

You can retrieve data from the dataset on your dynamic site using the getCurrentItem () function and utilize it to create the PDF.

I hope my tutorial helps :slight_smile:

Hi, i managed to use your tutorial and helped a lot but im having the error 413 my project is to download a pdf with images on him from the database