Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Connect-File does not render PDF content but only PDF file

SA-33974

Summary



User configured Connect-File method to write a PDF file to server folder. File is written to folder but no content in PDF.


Error Messages



Not Applicable


Steps to Reproduce



1. Use Connect-File method to write a PDF file to server folder.
2. Use Write from clipboard operation.
3. Pass binary content of document. File is written to folder, but no content in PDF file.


Root Cause



Write from clipboard operation always use string as parameter and hence binary content is lost for PDF when converting byteStream to string or base64String.

Resolution



Perform the following local-change steps:
  1. Get the byteStream directly set to eFormPage(Code-pega-Eform).pyEForm.
  2. In connect file method, use "Write From eForm" instead of "Write From Clipboard".

Published March 10, 2017 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us