Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Process Model - Document generation

Hi,

What might be the best approach to generate a PDF document in Appian using process model smart services.

Thanks.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Rao2022

    AFAIK the PDF from HTML smart service is only (or at least mainly) used for creating a text-based PDF using fundamental HTML text formatting.  An image link in the source HTML file would not be interpreted into the resulting PDF as anything particularly useful - by default I'd guess it might just be ignored outright, that or you'd just see whatever HTML placeholder was there for the image. Remember that typical HTML files don't "store" images whatsoever, they merely link to images hosted elsewhere.  (I know there are exceptions where an HTML might store an image file encoded in base64 - this would be an interesting experiment, but I don't have any expectation that the Appian smart service would even be looking for this, much less interpret it correctly.)

    I'm unaware of any supported way to force this smart service to incorporate images into the output PDF, though there may be others here with more experience there, who may know of additional tricks or work-arounds.

Children