Question
Pegasystems Limited
US
Last activity: 7 Oct 2018 4:29 EDT
Open Attachments by link beyond the case
How can I open (download) attached file by the link beyond the case which this attachment belongs to?
P.S.
When I use "pega.ui.HarnessActions.doAttachmentSingleClick" with parameters:
nRow - 1
StrClass - ""
StrInsName - ""
strInsKey - .pzInsKey
strCategoryProp - null
strCategoryValue - File
pxLinkedRefTo - .pxLinkedRefTo
Displays error - Unable to open the attachment. You lack the required permissions.
When i use
Obj-Open-By-Handle with parameters
.pzInsKey or .pxLinkedRefTo
StepPage - Attach (Data-WorkAttach-File)
Java step
tools.sendFile (tools.findPage ("Attach"), "pyAttachStream", true, "pxAttachName", null, true, null, true);
Shows the same error
I tried using
Call Work-.GetAttachmentReference
Options:
.pzInsKey or .pxLinkedRefTo
Shows the same error
What does mean this error?