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

Error message gets printed

SA-35271

Summary



If the case has any error message then on trying to print the case from default Print link the error message also gets printed.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a case.
  2. Enter all details and left one of the mandatory field blank and try to submit.
  3. The error message displays on the top of the screen.
  4. Click on Print link to print the case. The error message gets displayed in Print as well.


Root Cause



A defect in Pegasystems’ code or rules, ErrorMessages exist on the page and hence, is included in the print harness as well.

Resolution



If user do not wish to see the error messages, they should be hidden using the following styles.

Add the below snippet in userworkform or in any Harness/application level stylesheet.

<style>
@media print
{
#ERRORTABLE
{
display: none !important;
}
}
</style>

Suggest Edit

Published March 26, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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