Question

1
Replies
275
Views
Close popover
Ganesh Walunj (GANESHA19)
Barclays
Pega Developer
Barclays
IN
GANESHA19 Member since 2012 24 posts
Barclays
Posted: February 27, 2018
Last activity: March 1, 2018
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 User Experience
Moderation Team has archived post