Question 3 Replies 1958 Views × Close popover Jay Mozek (mozeg) PEGA Senior Solution Consultant Pegasystems Inc. US View Profile Send Message mozeg Member since 2014 4 posts PEGA Posted: December 28, 2016 Last activity: October 4, 2018 Posted: 28 Dec 2016 13:23 EST Last activity: 4 Oct 2018 13:54 EDT Closed Solved Password protecting an Excel file generated from Pega I am looking for the approach to password protecting an excel file generated from Pega to be sent via email. Is this possible? I know it can be done with .zip file but looking for the capability to do it for the excel file itself. ***Updated by moderator: Lochan to update Categories; related mesh post (internal)*** **Moderation Team has archived post** This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post. Case Management Security × 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: 4 years ago Posted: 29 Dec 2016 8:40 EST × Close popover Santanu Bhattacherjee (Santanu) PEGA Manager CRM - Field Service Pegasystems Inc. IN View Profile Send Message Santanu PEGA replied to mozeg I dont think out of the box it is supported. May be you need to access APACHE POI thru custom java ( in activity ) and then design your own logic. @John any inputs ? Accepted Solution Posted: 4 years ago Posted: 8 Jan 2017 20:53 EST × Close popover Sudhish Othoyoth Puthiyapurayil (othos) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View Profile Send Message othos PEGA replied to mozeg Hi Mozeg, I could see that John has updated you in Mesh stating that this will probably work (using Apache POI) . Below page from the Apache POI docs gives some examples of encrypting EXCEL files with a password for a key: http://poi.apache.org/encryption.html Regards, Sudhish OP Posted: 3 years ago Posted: 31 Jan 2018 21:15 EST × Close popover Akshay Kumar (Kumar) Accenture Accenture AU View Profile Send Message Kumar Accenture replied to mozeg Hi Team, I have build an excel file and wanted to protect it with password. Using (setWorkbookPassword) method but getting error. org.apache.poi.xssf.usermodel.XSSFWorkbook workbook = new org.apache.poi.xssf.usermodel.XSSFWorkbook();workbook.setWorkbookPassword("Testing"); Error The method setWorkbookPassword(String) is undefined for the type XSSFWorkbook Please help.