Question
Evia
DE
Last activity: 14 Feb 2023 4:51 EST
Dynamic generation of mashups
Hi,
we have a requirement where we need to update the style elements such as body color, button text, font etc dynamically through a mashup. We want to embed the same pega application into different external websites. The application should dynamically get the CSS styles of the requesting website and apply it to the mashup instead of manually creating a seperate skin for every different mashup.
Has anyone an idea how to achieve this?
Thanks and regards
@AlessioM0801
You will be able to circumstance the Skin rule.
When user clicking the mashup link and login to application, maintain a Boolean flag called MashUpType in any of the system pages (OperatorID or pxRequestor) and in that have some unique values. By using this value circumstance, the Skin rule.
In all the skin rule styling control name should be same but the styling you can have it based on your requirement. So that you don't want to create multiple sections like that, during run-time all the brandings will get applied dynamically.