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

Screen hangs when an email interaction is opened

SA-18104

Summary



Screen hangs when an email interaction is opened. When an email interaction received from an user is opened from new work tab, the interaction header hangs and unable to perform any other action on the screen.


Error Messages



No error messages.


Steps to Reproduce



Create an email interaction case and open it from new work tab.


Root Cause



An issue in the custom application code or rules:
The issue was because of the content of the email. It had the 
base attribute defined as  <base href=https://XXXXXX.com/  > Thus all the relative URLs in the Pega screen gets corrupted by that and any action on the screen, sends the request with host as  https://XXXXXX.com/

Resolution



Perform any one of the following local-changes: 
  • Use text area instead of Rich Text Editor(RTE) . (this has a limitation that the email content will not render properly and will just show HTML code) 
  • Create a custom activity to remove the base attribute from the email content and call this activity as preactivity by making the email content layout as defer load. This will also have a limitation that incase the email content has any relative URL that will not work after this. 
  • In the RTE control used, enable the checkbox for “Show toolbar in Read Only mode”. This will show tool bars at your end, however you can write custom css to hide them on your specific screen. Reason for this is when RTE is used in readonly mode it will not have iframe otherwise it has. When we enable toolbar, it will have iframe and thus the base attribute of the email will be local to the iframe and will not effect other relative URLs in Pega screen.

 

Published January 31, 2016 - Updated December 2, 2021

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