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

Work tab does not display properly after a browser refresh

SA-20831

Summary



The work tab does not display the appropriate harness when multiple work items were opened and F5 was pressed. The active tab, however, shows the correct tab label. The labels for the other work tabs do not update until selected.

Error Messages



Not Applicable

Steps to Reproduce

  1. Open multiple work items.
  2. Press F5.


Root Cause



An issue in the custom application code or rules.
The harness was configured with custom HTML to display a second harness within an iframe. When the browser was refreshed, only the second harness displayed. The tab labels were set using the pega.u.d.setLabel() JavaScript function, which the code did not execute until the tab was selected.

Resolution



Perform the following local-change: Remove the code that embeds the second harness in an iframe. Call the section from that harness instead.
In this instance, there was additional custom code that must be applied to the section, so a non auto-generated section was created to include the code in the section being referenced.
Use a data transform and declare expression instead of the JavaScript code. Create a data transform rule to set the pyLabel property as desired, and create a declare expression rule to set the pyDocumentTitle property to the value of pyLabel.

Published March 18, 2016 - Updated October 8, 2020

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