Question
Kondo
Last activity: 31 May 2017 22:00 EDT
Greater / Less than sign (< >) gets converted in HTML tag (< >) on screen
Hi,
We have a requirement to show greater than / less than sign (i.e. <>) on screen and I am passing this parameter:
"<" + .MyProperty + ">"
but unfortunately they get converted into < and > on screen (and also PDF generated from Report Browser) automatically. I tried to use escape (backslash sign) but PRPC is not letting me save the rule. Is there a way to avoid this error on PRPC?
Thanks,
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hello HarukaK6,
Thanks for posting your query in PSC :)
Could share screenshot showing the configuration used to display these characters? Are you trying to display these characters on the screen or in PDF? Also, mention the PRPC version?
If activity is being used to set the parameter, then refer the solution mentioned in the post.
Regards,
Rincy
Accenture
JP
Hi Rincy
Thank you for your replay.
I am working in the same team, so let me share the screenshot.
Please see the attached for details and let we know if you have any suggestions.
(the PRPC version is 7.2)
Thank you
Yang
Carelon Global Solutions India LLP
IN
Hi,
Can you try with giving the ASCII codes for the < and > symbols. I had a similar issue while showing some special characters in a label on UI. I solved it by doing so. Hope it works for you too:)
Thanks,
Praveen
Pegasystems Inc.
IN
Hello Yang,
Thanks for the response.
I am looking into the document shared. I will try to reproduce it with a sample application.
I will keep you posted.
Regards,
Rincy
Pegasystems Inc.
IN
Hello Yang,
I tried to replicate the reported behavior in Pega 7.2.2; however, I do not the see the < or >. Instead, I see <> characters.
Refer the attached screenshot for your quick reference. For your information, I have used subject as "<" + .ID + ">"
Are you seeing any error while opening the email like the post?
Regards,
Rincy
PEG
PL
can you test it with chrome whether the behavior is same?
Accenture
JP
Hi
I tested it with IE11 and firefox, but the behavior is same, so maybe it is not a web bowser problem.