We have a HTML where one of the page list would be displayed, we are able to generate the document but the document is getting attached to case attachments.
we are downloading the file using "pega.ui.HarnessActions.doAttachmentSingleClick"
for the above script we need pzInsKey of Link-Attachment class and for this purpose we are storing this document in Link-Attachment class in our activity and the document is getting added to case attachments.
is there any other way we can down load the document without adding it to the case attachments
***Edited by Moderator Marije to add Capability tags***