How to flatten the PDF generated using standard Appian 'PDF Doc From Template' smartservice (under Document generation)?

How to flatten the PDF generated using standard Appian 'PDF Doc From Template' smartservice (under Document generation)?

I am using a PDF Template(fillable PDF form created using Foxit Phantom) with some form fields, whose values are dynamically filled by Appian. It works perfectly. However the generated PDF is editable - a user can change the values. Would like to prevent the user from making changes, so want to the PDF.

I tried to use the plug-in 'Fill PDF'. It does have the option to flatten. However in the process design, I am not able to add the PDF form fields and set their corresponding values dynamically. The documentation on this plug-in doesn't address this in detail. Anyone faced this issue before and could help?

  Discussion posts and replies are publicly visible

Parents
  • I've run into this issue as well.

    The Fill PDF plugin has a lot of limitations, as does the PDF from Template smart service. I think that, provided you don't mind the extra server load, would be to use the PDF from Template smart service, output the new document into a PV, and pass that immediately into a Fill PDF plugin in order to flatten it. As I mentioned, the only issue would be the added server load due to creating double the documents without the ability to delete them in-process.

    Would love for Appian to add the ability to flatten within the smart service- which has much more documentation and information available online.

    Cheers!

Reply
  • I've run into this issue as well.

    The Fill PDF plugin has a lot of limitations, as does the PDF from Template smart service. I think that, provided you don't mind the extra server load, would be to use the PDF from Template smart service, output the new document into a PV, and pass that immediately into a Fill PDF plugin in order to flatten it. As I mentioned, the only issue would be the added server load due to creating double the documents without the ability to delete them in-process.

    Would love for Appian to add the ability to flatten within the smart service- which has much more documentation and information available online.

    Cheers!

Children
No Data