Skip to main content
dharmendrag
January 30, 2023
Question

PDF doc from template

  • January 30, 2023
  • 5 replies
  • 0 views

Hi All,

I am having a requirement to generate a PDF Invoice. I am using PDF doc from template smart service. I have to display data in table where number of rows are dynamic.

Question: How to create dynamic tags in PDF template that will accept dynamic data. 

5 replies

stefanhelzle0001
January 30, 2023

I had great success using the HTML-PDF plugin. It supports most of the HTML printing CSS capabilities and dynamic tables/grids are simple to do.

https://community.appian.com/b/appmarket/posts/html-to-pdf

It uses the following rendering library. There you will find some documentation and templates.

github.com/.../openhtmltopdf

dharmendrag
January 30, 2023

Thanks Stefan, but I am looking for dynamic tables in PDF doc template.

stefanhelzle0001
January 30, 2023

The output document will be PDF.

konduruc733182
January 31, 2023

Hello dharmendrag,

May be you can use the DOCX From Dynamic Template to insert the number of rows dynamically and then convert this document to PDF using Convert DocX To PDF (Aspose) smart service. Have you tried this approach?