Support Article

Link doesn't start file download if other link clicked



Developer created a section with multiple links that trigger a document download.

When a user clicks on a link, the document downloads. When the user clicks on a second link, document does not gets downloaded.

Error Messages

Not Applicable

Steps to Reproduce

1)Create a section.
2)Create two links and configure on click to download files.

Root Cause

A defect in Pegasystems’ code or rules.

RefreshSection event should return a valid html stream and since here the response of the refresh section is a binary file (file to be downloaded), one cannot call a DowloadFilepreactivity with refresh section.


Perform the following local-change:

Use the download activity with OpenURLInWindow method with window name as _self ( to download the document in the same window).

Published December 26, 2016 - Updated January 31, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.