@stefanof @cmarchan @simone1
Bellow I will share a process that works for me, to create a pdf using a list. Basically my app is a system to capture reports from field, so I have a list a question and a list of answers. My app is in spanish, but I will do my best to explain you the process,
First at all,
You have to install a list iterate plugin. I am using it: [New Plugin] Bdk Utilities (list processor functionality)
Then, you include a listprocessor element in your page, and define the input list type, in my case this is a questions list.
-
I start the whole process with a download button
-
I start the pdf with this great plugin created by @vini_brito
-
I defined the styles I will used
-
I trigger the lisprocesor using the list of questions
You create the lisprocessor run as follows
-
I print the questions using this list processor element (It is the current element in the list)
-
I print the answer
-
I add a pause before I print an image
-
I included an image. A trick: to avoid the image-name problem I used the number of the question, so I have photo-1, photo-2 and so on.
-
You created a list processor is done (check point 4), and define the name of the pdf
A trick: include .pdf at the end of the name, so you can share this link without problems.
That´s all! I hope it can help you.