Support Article
Unable to store attachments in Repository
SA-99106
Summary
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
- Open the Application rule
- Select Store in Repository in Content storage
- Select PEGACloudfilestorage
- Create a case
- 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.
Resolution
Perform the following local-change:
Add the code to set pxStorageType to Repository in the AttachToWork activity if the repository is enabled.
Published April 15, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.