Question
Pegasystems Inc.
US
Last activity: 6 Jul 2018 9:45 EDT
Including CSS globally for correspondence rules
We currently have a css style embedded in a correspondence rule.
How can we configure that globally so that it can be applied to all correspondence rules?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Learning
IN
Hello,
Thanks for posting your query in PSC.
You can try using Userworkform. Or else just provide us the screen shot of your corresponding rule with your css styles for our better understanding.
Thanks,
Hari
Pegasystems Inc.
US
Attached the CSS style embedded in correspondence rule.
Don't we need to use Additional Stylesheet in skin rule as best practice? However, this did not work. Not sure if this is a defect or expected bahavior.
Learning
IN
Hello,
You can additional style sheet in skin rule. It is best practice. We tried the same at our end in correspondence which is working fine.
Kindly check the attached images for your reference.
I tried it in Pega 7.2. Kindly let me know your version at your end.
Thanks,
Hari.
-
Sandeep Reddy Basireddy Victor Burgueño Aiken Tolybayeva kavitha manchineni
Pegasystems Inc.
US
Hari, thanks. Can you also send me two more screenshots?
1) A screenshot of the skin rule that contains the additional style sheet
2) A screenshot of the rule that contains the additional style sheet
Pegasystems Inc.
IN
Create a non auto generated section and add the styles in it (using html and style tag).
Include this non auto generated section in all your correspondence rules (using insert rule), so that you can use the same css in all correspondences.
Pegasystems Inc.
US
This option works fine.
We're still trying to see if the additional stylesheet in skin rule can be used as this seems the best practice.
But your suggestion also works. Thanks.
Pegasystems Inc.
IN
Tcs
US
Hi Durga,
I have a similar requirement , all paragraphs should have same styling through out the application.
How do we specify the custom style sheet which reflects only for paragraph(all paragraphs) rule?