Question2Replies1010Views RaghavenderReddyL Member since 2018 10 posts EvonSys Posted: January 16, 2019Last activity: January 16, 2019 Closed Solved PDF Download using pyAttatchStreamHi,Our Requirement is to download the PDF file using pyAttach Stream. i am trying to use Code-Pega-PDF. View Activity to download file but it accepts java object as a input parameter. But for us pyAttachStream is text input property??Can anyone help me how to convert a text property to Java Object?(OR)Is there any other approach to download pdf file using pyAttachStream?? Pega Platform Data Integration Java and Activities ×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: 1 year agoBhaskararaoG Coforge DPA Ltd. replied to RaghavenderReddyLHi We can convert the pyAttachStream to downloadble content using below steps in a java step of the activity byte byteArray=Base64Util.decodeToByteArray(pyAttachStream); String result=tools.sendFile(byteArray, pxAttachName, false, null, true); Complete steps are given in this article, which may be helpful https://community1.pega.com/community/pega-support/question/how-display-pdf-sectioninvoice Accepted Solution Posted: 1 year agoRaghavenderReddyL EvonSys replied to BhaskararaoGI had implemented Java code and its working good. Thanks Bhaskar.