may I know how to format text property dynamically in correspondence?
E.g. I have a property A of type Text. It’s used in email correspondence
<>
When I set value of A, I also want to set its format, e.g. bold, so I set
A=“aaa ”
However, “aaa ” is shown instead of aaa
@MaxonL16591286
Hi Maxon,
Please try to implement by referring to below steps:
Insert the property from toolbar
Bold the text you want to bold from the toolbar
You can set the visibility condition using when condition in Insert Property pop-up.
The required text should display in bold.
@singb6
thanks.
However I need do the formatting “dynamically”.
I need it to be bold this time and maybe not bold next time, so I would like to set the formatting tag inside property value.
@MaxonL16591286
As mentioned in point 3 above:
Please use when in the property to display in bold conditionally:
Example : for bold I am keeping when condition as below:
For normal Text:
Preview:
While below is the preview if I interchange the when conditions set when condition as Never for bold and Always for normal text:
You can set the when condition as per your requirement.
@singb6 Many thanks. it’s helpful.
However I really need a “fully” dynamic text format setting, because I have a large piece of text, inside it, some words may need set to bold (we can not tell which words are needed in advance), some other words need set some other format e.g.
.
So we can not preset any formatted test inside the email template.
So I should re-org my question as:
How to set HTML formatting tag inside a property that used in an email template, to let it can be displayed in email with visual effect.
Thanks.
@MaxonL16591286
resolved as in another topic
https://support.pega.com/question/format-text-property-dynamically-correspondence Hi, regarding to above question, I think the only solution is to to show a dynamic html piece in email. That is, I dynamic gen some html codes and let the email display...