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

Value on screen containing apostrophe gets displayed as '

SA-6098

Summary



Displaying values on the UI that contain apostrophe marks but the apostrophe gets displayed as '.



Error Messages



Not applicable


Steps to Reproduce



1. Use History-Add activity to add/populate message/s with apostrophe.
2. Use a repeat grid to display all the populated history records.

3. Notice the field that contains the apostrophe marks at runtime.

Root Cause



The root cause of this problem is a defect in customer application code/rules.
A control is applied to the field that holds apostrophe values. The code implemented to print the value is <pega:reference name="$save(result)" />


Resolution



This issue is resolved through the following local change:

Specify the mode=literal attribute when you use the pega:reference tag.

<pega:reference name="$save(result)" mode="literal" />
 

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