Discussion
SunLife
CA
Last activity: 6 Sep 2016 11:32 EDT
pyCaptions with HTML tags, like <b> </br>..
I have a requirement to show some portion of text in bold.
Ex : What is my Name ? ( my Name should be bold )
We can do this paragraph by adding <b> html tag. ( What is <b> my Name </b> ? )
But i need same thing through Filed Values ( pyCaptions ). When we use html tags in pyCaptions, its not processing. its displayin html tags in UI.
Can we do this with only pyCaptions?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi,
Creating a Field Value like pyCaption • NameQuery with a content like "What is your <b> name </b> ?" (without double quotes) should work.
Please let us know -
1. What is the version of Pega you are using ?
2. How you are trying to get the localized value of the Field Value ?
Regards,
Pallav
SunLife
CA
Hi Pallav,
Thanks for your responce. i tried the approach you have given. but no luck. it's showing the html characters in UI.
1. Am using 6.2 SP2 Version
2. To localize these date, will create pyCaptions with similar name in <RuleSetName>_<lang>..
( ex: MyCo_fr )
As per my understainding, to enable localization we need to check "localize check box " in sections. when ever we select localize check box .. all the labels in that section will update with pega:lookup tag.
<pega:lookup property =".pyCaption" value="NameQuery"/>
pega:lookup tag will just return the label in FieldValue. it won't process html tags. there is noway to provide additional parameters to pega:lookup tag through sections.
Virtusa
US
can you please let me know if you found a solution for this
Pegasystems Inc.
IN
Would a paragraph rule works for the use case?
SunLife
CA
Yes we can use pargraphs. but its huge work to creat paragraphs for all other languages manually.
we have completed this one with pargraphs only, didn't find any other solution.
Infosys Limited
IN
Hi I have similar problem and I have started using Paragraph. But in Paragrah I am including the correspondence property: ".pyInboundEmail.pyBody". While including the property what Format should I select to retrive it as HTML along with spaces in UI display?
@DeepakK4401
Capgemini
IN
Hi,
We have a similar requirement to show some part of pyCaption in red front. Any solution for this?
I am using Pega v7.2
Tetco
SA
Hi,
In which rule and where exactly trying to refer pyCaption.