Skip to main content
jasonb1005
August 9, 2023
Question

generate pdf from read only grid

  • August 9, 2023
  • 7 replies
  • 0 views

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,

7 replies

stefanhelzle0001
Brainy
August 9, 2023

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.

jasonb1005
August 9, 2023

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? 

mathieud0001
Brainy
August 9, 2023

Not directly, you'll have to generate it manually.

August 9, 2023

Hi, as you have the data with you, You can use that data and with the help XSL/FML you create a document and use the smart service DOCX From Dynamic Template generate a word document. Once the word document is proper you can use one more smart service PDF From DOCX you can convert from Docx to PDF.

jasonb1005
August 9, 2023

right, the problem is that the xml information requires a specific number of items to map together. Depending on the list, the number of rows will be different. I need to be able to do exactly what you wrote, but with a read only grid.