Dynamic Color Branding Theme in ESC Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2024 12:50 AM
Hello All,
I have a requirement to update the portal colour theme in esc portal based on the logged in user company field value. If a user is belonging to company 'X' then when they opens in ESC Portal they should one set of colour branding and when a user is belonging to company 'Y' then when they open in ESC Portal they should one set of colour branding theme in portal. In simple we need to have dynamic colour branding theme in ESC Portal based on user company values. Can anyone help me how to achieve this in ESC Portal.
I got some inputs like we need to create two style sheet and then we need to create a script include to return sys_id of style sheet but not sure how to exactly do all these combined. Can anyone help me from beginning to have dynamic branding in portal. Thanks in advance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2024 03:00 AM
Hello,
To raise an alternative to this (which may be worse due to upkeep): You can also clone portal pages . Instead of having a dynamic rebranding, maybe duplicating the portal and have separate ESC portals for each company.
This would allow for separate branding, functionality and even layouts. If all the same widgets are used, any widget customization would be available in both portals. The downside is the added upkeep of maintaining another portal.
Now in regards to having a dynamic branding in the portal:
The ootb tools provided are not catered towards this. And moving forward you will make these branding tools obsolete (probably the WYSIWYG designer for pages as well, as the stylesheets are only loaded during runtime). Testing will be harder as you will have to test everything with two separate users as well - although this would be similar to testing in two different portals. If possible, i'd avoid this way forward.
I don't know if this helps as it is certainly not the guidance you've asked for. But in short, i'd highly recommend to reconsider.
Regards
Fabian