Question
Download Attachments using link
Is it possible to download attachments (attached to the work objects) using Link?
I found this post with the same question: https://pdn.pega.com/community/pega-product-support/question/download-attachments-using-button-or-link
but I have some problems applying the solution that Samanth gave:
1) If I use pega.u.d.doAttachmentSingleClick as Function name in the "Run script" action, it says "Invalid page name" and "Invalid property reference"
2) Cannot find where in the API is explained how to populate the parameters required for that function (nRow, strClass, strInsName, strInsKey, strCategoryProp, strCategoryValue)
Thanks,
Massimiliano
***Updated by moderator: Lochan to add Categories***
Could you please refer the Embed-Attach-File.pyAttachFieldOptional OOB section. In this section please go to the actions of Download link and verify the run script action. It may give you an clue to proceed further.
PFA