Question

1
Replies
262
Views
GANESHA19 Member since 2012 24 posts
Barclays
Posted: 2 years ago
Last activity: 2 years 7 months ago
Closed
Solved

Download Script showing activity status screen when document not found

We are using below script on click on link to download document, when document is not found/Not present once activity execution ends it is showing attached message.

How can we suppress activity status message ?

function downloadFile(activityName, className, applicationName, fileName, fileType){
var suURL = SafeURL_createFromURL(pega.u.d.url);
suURL.put("pyActivity", activityName);
suURL.put("pyClassName", className);
suURL.put('ApplicationName', applicationName);
suURL.put('FileName', fileName);
suURL.put('FileType', fileType);

var formEle = document.createElement('form');
formEle.id = "download_file";
formEle.method = "POST";
formEle.action = suURL.toURL();
if(pega.env.ua.webkit)
formEle.target = "";
document.body.appendChild(formEle);
formEle.submit();
document.body.removeChild(formEle);
}

Data Integration Java and Activities Data Integration User Interface
Moderation Team has archived post
Share this page LinkedIn