Question 2 Replies 320 Views × Close popover Gopalakrishna Mudda (GopalakrishnaM0540) Infosys Ltd Infosys Ltd IN View Profile Send Message GopalakrishnaM0540 Member since 2018 1 post Infosys Ltd Posted: September 18, 2018 Last activity: September 18, 2018 Posted: 18 Sep 2018 5:49 EDT Last activity: 18 Sep 2018 10:52 EDT Closed Need to auto download the file without the options Open and Save file Hi, 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.pdf Currently: !@3e7785c9ca4843f7ca63cc5f3e9ed8c7!OpenPortal com.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, Gopal Already referred these posts: Unable to open/download the PDF file by clicking the button again and again How to show a PDF stream after generating it (no case to attach)? Case Management User Experience × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover 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 ago Posted: 18 Sep 2018 8:12 EDT × Close popover Vincenzo Perrone (Vicio.Pi) Accenture Specialist Accenture IT View Profile Send Message Vicio.Pi Accenture replied to GopalakrishnaM0540 Hi 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 ago Posted: 18 Sep 2018 10:52 EDT × Close popover Gayatri Nistala (Gayatri) incessant incessant IN View Profile Send Message Gayatri incessant replied to Vicio.Pi Could you please help me with the approach.