Question
Becton Dickinson
IN
Last activity: 23 Oct 2024 6:17 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?