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

Unable to store attachments in Repository



Default content storage is selected as Store in Repository in the Application rule on the Integration&Security tab. However, the user is unable to store the attachments in the Repository and the content does not load on opening the attachment.

Error Messages

Not Applicable

Steps to Reproduce

  1. Open the Application rule
  2. Select Store in Repository in Content storage
  3. Select PEGACloudfilestorage
  4. Create a case
  5. Download and open the attachment

Root Cause

The property of pxStorageType is not set in the AttachToWork activity when the repository is enabled. If pxStorageType is empty, then, the content of the document does not load in the GetAttachmentReference activity. 


Perform the following local-change:
Add the code to set pxStorageType to Repository in the AttachToWork activity if the repository is enabled.



Suggest Edit

Published April 15, 2020 - Updated December 2, 2021

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