Question

1
Replies
289
Views
Ganesh Walunj (GANESHA19)
Barclays
Pega Developer
Barclays
IN
GANESHA19 Member since 2012 24 posts
Barclays
Posted: February 27, 2018
Last activity: March 1, 2018
Posted: 27 Feb 2018 9:17 EST
Last activity: 1 Mar 2018 11:21 EST
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.