Question

How to generate PDF using Eform in Read-only format ?

Hi,

I am attaching a PDF using E-Form. It attached to case as well.

But this PDF is in editable mode, I need this as read only format.

How can we achieve this ?

***Edited by Moderator: Lochan to update platform capability tags***

Correct Answer
November 28, 2019 - 6:53pm

Hi,

Perform the following local-change such that the resultant PDF is read-only:Copy the response from GenerateEForm and pass it to ConcatenateEForms for generation:

  1. Call GenerateEForm on the Step Page.
  2. Copy the property from steppage.pyEForm to a new step page, stepPage2.pyEForms(1).
  3. Invoke ConcatenateEForms on the new step page and select PerformFieldFlattening.
  4. Run the activity.

Hope this helps!

Thanks,

Geeda.

Comments

Keep up to date on this post and subscribe to comments

Pega
November 28, 2019 - 6:53pm

Hi,

Perform the following local-change such that the resultant PDF is read-only:Copy the response from GenerateEForm and pass it to ConcatenateEForms for generation:

  1. Call GenerateEForm on the Step Page.
  2. Copy the property from steppage.pyEForm to a new step page, stepPage2.pyEForms(1).
  3. Invoke ConcatenateEForms on the new step page and select PerformFieldFlattening.
  4. Run the activity.

Hope this helps!

Thanks,

Geeda.

December 5, 2019 - 1:00am
Response to GeedA

Thanks for replying!!! 

This is working as expected. 

 

Pega
November 28, 2019 - 6:56pm