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

Content does not display in the Open Assignments section

SA-80006

Summary



Content does not display in the Open Assignments section.


Error Messages



Error on console:

Onload function (E) is not defined


Steps to Reproduce

  1. Launch the Case Manager portal.
  2. Open any case. The content does not load in the Open Assignments section. The text, 'Loading...', displays.


Root Cause



The content did not display because the pyMessage property content had a complete Outlook mail HTML page in it. When the HTML content displayed in the read-only Rich Text Editor (RTE), the RTE code attempted to add the entire HTML inside a DIV. This resulted in an invalid markup since 'HTML' tag cannot be included in a 'DIV' tag.

In some cases, depending on the content of the mail and size of the mail chain, this resulted in the breaking of the entire Harness.


The pyPostContent section was customized in the application ruleset that had the offending RTE.


Resolution



Perform the following local-change:
  1. Do not use an RTE to display the content.
  2. Use the DisplayPostText custom control as used by the out-of-the-box pyPostContent section.
  3. Enable the 'Show toolbar in Read Only mode' in the Presentation tab of the RTE property panel. This creates an iFrame to display the content and sandboxes the content containing the complete HTML page. Use the custom CSS to hide the toolbar and resize the iFrame.

Published August 19, 2019 - Updated December 2, 2021

Was this useful?

0% 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