Question 2 Replies 1128 Views × Close popover Raghavender Reddy Lankapothu (RaghavenderReddyL) EvonSys EvonSys IN View Profile Send Message RaghavenderReddyL Member since 2018 12 posts EvonSys Posted: January 16, 2019 Last activity: January 16, 2019 Posted: 16 Jan 2019 6:41 EST Last activity: 16 Jan 2019 9:52 EST Closed Solved PDF Download using pyAttatchStream Hi, 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 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: 16 Jan 2019 7:43 EST × Close popover Bhaskararao Gadapu (BhaskararaoG) Coforge DPA Ltd. Coforge DPA Ltd. IN View Profile Send Message BhaskararaoG Coforge DPA Ltd. replied to RaghavenderReddyL Hi 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: 2 years ago Posted: 16 Jan 2019 8:35 EST × Close popover Raghavender Reddy Lankapothu (RaghavenderReddyL) EvonSys EvonSys IN View Profile Send Message RaghavenderReddyL EvonSys replied to BhaskararaoG I had implemented Java code and its working good. Thanks Bhaskar.