Question

1
Replies
3156
Views
ArindamDey1983 Member since 2015 2 posts
Capgemini
Posted: 3 years ago
Last activity: 3 years 4 months ago
Closed

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?

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn