Question

7
Replies
92
Views
Close popover
Premalatha Nagaraj (PremalathaN7222)
Cognizant Technology Solutions India Pvt Ltd

Cognizant Technology Solutions India Pvt Ltd
IN
PremalathaN7222 Member since 2018 6 posts
Cognizant Technology Solutions India Pvt Ltd
Posted: September 10, 2020
Last activity: September 28, 2020

how can i open all attachment once on click of button in Pega 7.2.1 version

Hi Team,

I have a requirement to open all attachment once on click of a button in Pega 7.2.1 version.So i have created button in a section and called a activity on click of button. In that custom activity, where i do obj-browse to get pxLinkedRefTo and pzInskey from Link-attachment class. For each results i am looping the page and pass pzInskey value to Work-.GetAttachmentReference activity and pxLinkedRefTo value to Work-.DisplayAttachFile activity. But still i am unable to download the attachment to view. 

I have also tried to using "doattachmentsrunscipt" function  that seems to be working for one attachment but not sure how to utilize this for multiple attachment.

Could anyone of you, please help me to complete this requirement?

***Edited by Moderator: Pallavi to update platform capability tags***  

Pega Platform 7.2.1 User Experience