Question

1
Replies
84
Views
pelln-1 Member since 2012 10 posts
PEGA
Posted: May 31, 2017
Last activity: June 2, 2017
Closed

PDF content is not readable after saving to server

I am creating PDF file HTMLtoPDF activity to generate the PDF. After that I used connect-File (write from eform), the pdf file is saving but the content is not readable.

I am using the following java step to set the property pyEForm. Any help is apprecaited

ClipboardPage eFormPage = tools.findPage("PDFPage");

ParameterPage dataPage = tools.getParameterPage();

ClipboardProperty eFormProp = eFormPage.getProperty("pyEForm");

String encFileData = dataPage.getString("PDFDocument");

byte[] eForm = null;

eForm = org.apache.soap.encoding.soapenc.Base64.decode(encFileData);

eFormProp.setValue(eForm);

***Moderator Edit: Vidyaranjan | Updated Categories and included SR details***

Data Integration Reporting User Interface SR Exists
Moderation Team has archived post
Share this page LinkedIn