Question

3
Replies
1326
Views
ThamizhmaniP Member since 2015 14 posts
TCS
Posted: November 11, 2017
Last activity: July 12, 2018
Closed

Download PDF not working second time click

Hi,

Our requirement is to create the PDF of the section and download automatically instead of attaching it to workobject. We are using refresh section on button click with the activity to download PDF.

The activity contains

step1 - Property-Set-HTML

step2- Call HTMLToPDF

step 3 - call Code-Pega-PDF.View

When i use this activity on refresh the pdf is donwloading only once. I have tried using "open url in window" and without refresh as well. But PDF is not downloading in this case. I have tried the below suggestion as well.

https://pdn.pega.com/support-articles/export-excel-downloads-file-only-once.

Is there any other way to fix this?

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn