I want to use document generation smart service for dynamic PDF generation consists of rows and columns. For that I tried "Create table in PDF" service. But I am not able to configure how to add rows and columns into it and how to store generated PDF. Can anyone provide sample code to implement this.
Hi, One of the way is to create a docx template with tables from dynamic template smart service and then convert into a PDF file (please make use of few available PDF plugins)
I agree. Creating tables/formatting directly in the PDF generally requires additional licensing (like mentioned in that plugin). So, you can use the plugin to create a word document then convert to PDF. Here are the pluginshttps://docs.appian.com/suite/help/19.3/Word_Doc_from_Template_Smart_Service.htmlhttps://community.appian.com/b/appmarket/posts/dynamic-document-generator
For best results (in terms of output), I recommend using the PDF from XSL-FO Transformation. Conversion from word to PDF gives mixed results (lost fonts, other formatting issues)
After generating XSL-FO file content, how can I create .xsl(document) file to pass as one of the input node parameter(Xsl) for "PDF from XSL FO Transformation" smart service.
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.