Skip to main content
Known Participant
Jul 22, 2024 6:39 AM UTC
Question

How to pass parameters dynamically to HTML to pdf smart service?

How to pass parameters dynamically to HTML to pdf smart service?

    5 replies

    stefanhelzle0001
    Brainy
    Jul 22, 2024 6:48 AM UTC

    What exactly do you mean?

    I describe this in a blog post: appian.rocks/.../

    Known Participant
    Jul 22, 2024 6:59 AM UTC

    Hi [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] ,
    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.

    stefanhelzle0001
    Brainy
    Jul 22, 2024 8:17 AM UTC

    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.