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

Attachments are not displayed in main section



Attachments are not displayed in the main (parent) section when attached using the Advanced link.

Error Messages

Not Applicable

Steps to Reproduce

1. Click on the Attachments link.
2. Click on Add, and attach a file with .txt extension.
3. Click on Attach button and then Close.

Root Cause

When the Advanced link is clicked, a new window is opened from which a modal dailog is opened. On closing, the parent section is not refreshed.


As a local-change refresh the main section on closing the child window.

1. In the Attachments section, add another section known as RefreshAttachments.
​2. Navigate to RefreshAttachments, and uncheck the Auto-generated Check Box under HTML tab.
        Add the following code snippet in the HTML source.

3. Open the Rule UserWorkForm of Ruleset Pega-UIEngine and add the code snippet given below.
        function testingFun(){
        pega.desktop.registerEventListener("DesktopMouseClose", testingFun);

Published February 9, 2016 - 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