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

Changes to style sheet aren't reflected in the harness



Developer has a preview harness for printing a form containing data from a work object. In the preview harness, there are borders around each of the values being displayed. When he prints the form, most of the borders are not appearing in the PrintView harness, and therefore do not appear in the printed hard copy or PDF file. Both the preview harness and the printview harness have the same style sheet added to them.

Error Messages

Not applicable.

Steps to Reproduce

1. Open the preview harness, click the Print icon to bring up the PrintView harness.
2. Print the harness to either a PDF file or actual hardcopy.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules. The style sheet added to PrintView harness does not get saved. The harness rule saves, but the added style sheet is discarded. However, the style sheet remains listed on the "Scripts and styles" tab, so it appears that it has been successfully added. Only if you close and reopen the harness rule will you see the style sheet no longer listed. Because the style sheet has not really been added, any styles contained in it are not applied.


This issue is resolved by hotfix item HFix-20963

Published January 31, 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