Question

64
Views
Faizan Bhat (FaizanB4)
Siemens

Siemens
IN
FaizanB4 Member since 2019 1 post
Siemens
Posted: August 18, 2020
Last activity: August 18, 2020
Posted: 18 Aug 2020 3:24 EDT
Last activity: 18 Aug 2020 3:33 EDT

Use of Dynamic CSS in correspondence

We have in place the feature of Dynamic CSS where we are displaying a color conditionally. 

Refer attached Image > "Status1". 

However in an outgoing correspondence, it is not taking up the dynamic value of the property but instead picking up the name string and thus the formatting doesnt show and it is plain B/w. Note We are passing the css along with the template using a corr fragment. 

Refer attached image > "Status2". 

If we hardcode the CSS class, it works fine in that case. Refer ss from Outlook > "Status3". 

We require that the Dynamic css be passed along with the corr as well and a similar style as ss "Status1" be displayed in Outlook. 

Any suggestions would be helpful. 

Pega Platform 8.1.8 User Experience