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 delete attachments using out-of-the-box Delete option

KCP-251

Summary

Unable to delete attachments from screen using the out-of-the-box Delete option available on the pyCaseAttachmentsWrapper section.

 

Error Messages

Not Applicable

 

Steps to Reproduce

  1. Use the Attachment section inside a screen flow
  2. Delete the attachment after adding it

 

Root Cause

The Attachments page refers to the D_AttachmentList data page. The data page is not refreshed since the attachment is deleted on the User Interface. Only when the data page reloads, the attachment gets removed from the User Interface.

 

Resolution

Perform the following local-change:

  1. Create the Reload once per interaction refresh strategy for the D_AttachmentList data page 
  2. Add an action for Delete to refresh the section for which the attachments are referred by the user in the pyAttachmentOptions navigation menu rule
Suggest Edit

Published 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