Question

1
Replies
1093
Views
MatthieuB Member since 2016 1 post
Air France
Posted: 2 years ago
Last activity: 2 years 9 months ago
Closed

Attachment link management

Hello,
We need to download attachments of a case from a java 7 application.
For that purpose, the PEGA platform has been configured to send a link in the JMS message as follow :
...<attach1>https://mypegaserver/prweb?pyActivity=Work-.GetAttachmentReference&amp;…; ...
When we copy paste the link into a web browser, we are able to download the file manually but the java 7 application that is retrieving the message is downloading a javascript file.
As we can see, the web browser is interpreting the javascript and then downloading the attachment.

Is there a way that PEGA is providing a direct download link ?

If not, could you provide a method in java 7 to execute the javascript and download the file ?
Parsing the javascript file and search for the direct link is not a proper solution if the file structure changes.

Thank you for your help.

Matthieu

Data Integration Java and Activities Case Management SR Exists
Moderation Team has archived post
Share this page LinkedIn