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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.