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

Field label using script <img src=> shows code instead of Image



Developer has created a List View, in which for the first Column header Value, user has included an HTML script to include an image.
User reported that the same design used to work in PRPC 5.5 SP1 but in Pega 7.1.9,  instead of the image the entire script is being displayed like a string.

Error Messages

No error message.

Steps to Reproduce

1. Create a List View or report Definition.
2. Add few columns.
3. Let the first column header value be an image, like include an image with a script --- <img src='../image/pysaveicon.png'></img>.
4. Run the report.

Root Cause

This is expected behavior.


Here’s the explanation for the reported behavior: 

User is suggested to use image in Grid header directly but not List View.

Note: The reason is that list view is deprecated in later versions of PRPC and the associated controls are not updated to handle html tags.

Suggest Edit

Published May 4, 2016 - 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