Link doesn't start file download if other link clicked
SummaryDeveloper 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 MessagesNot Applicable
Steps to Reproduce1)Create a section.
2)Create two links and configure on click to download files.
Root CauseA 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.
ResolutionPerform 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