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)
***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.