I am tasked with mapping data to a docX to generate a pdf. I have most of the data mapped properly, but I wanted to know if it's possible to generate a pdf download of a record list or read only grid. Is it possible to print off the entire record list? Mapping data to a pdf requires that you know how many fields you need to populate. How can I generate a pdf that has a dynamic amount of data?Thanks,
Discussion posts and replies are publicly visible
I have great success with the HTML to PDF plugin. I can really create complex formats including page footers, repeated headers on multi-page tables etc. Your use case seems like a good candidate.
sorry this is a noobie question. But is there a way to convert a record list or a read only grid to an html doc?
Not directly, you'll have to generate it manually.
The HTML syntax for manually constructing a table is fairly simple. You'd need to write expression rule(s) that consume your list of data, looping over it and converting it to text enclosed by the proper html tag(s) for what you want.
This would work, but it's not the route I took. I had to learn the docx field syntax to dynamically add rows to a grid and link it to xml syntax using an expression.