Question2Replies294Views×Close popoverGopalakrishna Mudda (GopalakrishnaM0540) Infosys Ltd Infosys Ltd IN View Profile GopalakrishnaM0540 Member since 2018 1 post Infosys Ltd Posted: September 18, 2018Last activity: September 18, 2018Posted: 18 Sep 2018 5:49 EDTLast activity: 18 Sep 2018 10:52 EDT 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 Experience ×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 agoPosted: 18 Sep 2018 8:12 EDT×Close popoverVincenzo Perrone (Vicio.Pi) Accenture Specialist Accenture IT View ProfileVicio.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 agoPosted: 18 Sep 2018 10:52 EDT×Close popoverGayatri Nistala (Gayatri) incessant incessant IN View ProfileGayatri incessant replied to Vicio.PiCould you please help me with the approach.