How to pass parameters dynamically to HTML to pdf smart service?
Discussion posts and replies are publicly visible
What exactly do you mean?
I describe this in a blog post: appian.rocks/.../
Hi Stefan Helzle ,I have an HTML document that needs to receive data dynamically from a smart service in Appian. Once the data is passed, the document should be converted to a PDF with the incorporated data.
You need to generate the HTML file before rendering it to PDF. How you generate it, really depends on your use case. A static template and the "Text doc from template" smart service might be an option.
My use case involves an HTML file containing paragraphs and tables with placeholders (###data###) for dynamic values. When I upload this HTML file into a smart service and pass the necessary data, the file should be converted into a PDF with the dynamic values inserted.
https://docs.appian.com/suite/help/24.2/Text_Doc_From_Template_Smart_Service.html