Question

91
Views
Close popover
Prateek Gautam (PrateekG7697)
Cognizant

Cognizant
IN
PrateekG7697 Member since 2016 5 posts
Cognizant
Posted: March 3, 2021
Last activity: March 8, 2021

tools.sendfile

ClipboardPage objRefPage; objRefPage = tools.findPage("DataPage", false); String sErrorMessage = tools.sendFile(objRefPage, ".retrieveDocumentParametersResult.document.documentContentElement(1).theBinaryValue", true, ".retrieveDocumentParametersResult.document.typeName", null, false, null, true);    if (sErrorMessage != null){                     tools.getThread().getThreadPage().putString("pyXMLStream", sErrorMessage);       }

This is the java code I am using to download file in the new window. With this I need to show a message  "Please wait the file is downloading"

 

Can anyone suggest what to do?

***Edited by Moderator Marissa to change type from Pega Academy to Product***
Pega Platform User Experience Insurance Senior System Architect