Question2Replies255Views GopalakrishnaM0540 Member since 2018 1 post Infosys Ltd Posted: 2 years agoLast activity: 2 years ago Closed Need to auto download the file without the options Open and Save fileHi, I am able to download the file but my requirement is to download the file with out asking any option 'Open' or 'Save' file should auto download.Below code is working for auto download but when user try to save the same, File name showing some thread name(having issue only in IE).Expected: TextFile.pdfCurrently:!@3e7785c9ca4843f7ca63cc5f3e9ed8c7!OpenPortalcom.pega.pegarules.pub.util.Base64Util base = new com.pega.pegarules.pub.util.Base64Util(); String LTRFileName = tools.getParamValue("FileName"); String EDGSContent = tools.getParamValue("EDGSBinaryContent");LTRFileName = LTRFileName+".pdf";HashStringMap aMap = new HashStringMap(); aMap.put( "ContentDisposition", "inline; filename="+LTRFileName+";"); byte printData = base.decode(EDGSContent.getBytes()); String sErrorMessage1 = tools.sendFile(printData, LTRFileName, false,aMap, false);Please suggest me to acheive my requirement.Thanks,GopalAlready referred these posts:Unable to open/download the PDF file by clicking the button again and againHow to show a PDF stream after generating it (no case to attach)? Case Management User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! 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. Posted: 2 years agoVicio.Pi Accenture replied to GopalakrishnaM0540Hi Gopal, I have seen your answer below my previous post. I am not sure if this solution will work, but maybe you may try to use the DowloadFile OOTB activity in @baseclass. Let me know, Vincenzo Posted: 2 years agoGayatri incessant replied to Vicio.PiCould you please help me with the approach.