Question
Becton Dickinson
IN
Last activity: 12 May 2017 11:29 EDT
Download ALL Attachments functionality
Hi All,
We have a requirement to download all attachments of a workobject with the one click of a button.
I have added a custom coding where , I'm browsing the pc_link_attachment table for the pxLinkedRefFrom value for the particular work objects and is calling the activity Work-.DisplayAttachFile on a loop of the above result count, and passing the value of pxLinkedRefFrom everytime.
In tracer I have observed although the DisplayAttachFile is getting called multiple times with correct parameter each time but on the user browser everytime the last attachment in the list is getting downloaded and NOT ALL.
Do anyone have any advise where I'm missing?