We have a grid where on click on each row we show a modal pop-up with some information .In the modal pop-up we show the some information related to the row and any files associated with that row(screenshot below).User should be able to down load the files by clicking on it .We have configured a pxlink with the refresh section to call the GetAttachmentReference activity .The activity gets run but the file is not downloaded and i assume that the OOTB code is trying to get the location URL of the parent document to download in the fragment "OpenFileAttachment".Any ideas how to make it working.
Work Around :- We used OpenLinkFromURL for now to download the files.Drawback with this is that the pop-up that gets opened doesn't close.
I have analyzed the function and it calls the same activity that i mentioned earlier,only issue here is that if i call the activity directly(as i dont have all the Link- properties in my page) it doesn't download the file.
Just wanted to double check on the configuration of the Actions for pxLink:
On the onClick event -> Do you have one action set which does both "Refresh this Section and calls the activity" as in below?
In Pega 7.1.9 we had a very similar requirement to download a csv based on repeating grid layout. When we split the Run activity and Refresh this Section into two separate actions, the CSV didn't get downloaded whereas when we combined the two actions into one as specified above, it worked.
Hence, its worth trying once to change the sequence of actions by splitting or combining into one action set.