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***