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

Problem sending excel file using Sharepoint Online



As part of integrating Pega Application with Sharepoint Online, files of type PDF, MS Excel, MS Word, MS Powerpoint, jpg etc were to be sent to Sharepoint Online. When the files are opened from Sharepoint, they were corrupt.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a flow
  2. Attach a file using Out-of-the-box attachment feature
  3. Get the stream by opening the attachment object and converting it into byte array
  4. Send the resultant byte array to Sharepoint Online using a REST connector

Root Cause

This issue was determined to be a product enhancement request.


A new feature was added to REST Connector to allow binary data to be sent from Pega Application unlike string / text which is being sent as of now. This feature needs to be selected to sent the data in binary format to external systems.

Above feature is added through HFix-34049, which is a backport from Pega 7.3.

Suggest Edit

Published June 16, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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