- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 07:13 AM - edited 02-09-2024 07:14 AM
In Vancouver, I was able to add a UX Style variant to my UX Theme that contained a logo.
What this allowed me to do was change the header_logo when a user selected a different Theme in their preferences.
Here is an example from Vancouver. In the screenshot below, you can see the default Polaris Theme colors, The user is about to select the "Pink" Theme.
After selecting the Theme, you can see in the screenshot below that the colors as well as the logo are updated.
In WashingtonDC, it appear some changes were made to the default Polaris UX Theme, most likely for the better. When I import the same configuration to my WDC instance, here is the result:
As you can see above, the header logo does not change.
A follow-up question is: Are the full properties for UX Styles documented someplace?
I have been attempting to adjust the configuration as much as I can to match the new changes in the Polaris theme on WDC, but no luck so far.
I have been through the WDC Documentation for Next Experience UI, but not seeing anything that would answer this specifically. I would be happy to be wrong. Docs Link: https://docs.servicenow.com/csh?topicname=next-experience-ui-admin.html&version=latest
For reference, my themes are in a scoped app called "Next Cool Themes" available here: https://github.com/dalestubblefield/next-cool-themes
--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow
Solved! Go to Solution.
- Labels:
-
UI Framework Next Experience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2024 12:03 PM - edited 02-10-2024 12:34 PM
Hello,
Theres a system property that gets created when you use Theme Builder for building themes with a logo called: glide.ui.polaris.theme_builder.override_logo. Set that to true and see if your image appears.
I tested it on my PDI and it dynamically changes the header logo when I change the theme.
Hopefully that helps solve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2024 12:03 PM - edited 02-10-2024 12:34 PM
Hello,
Theres a system property that gets created when you use Theme Builder for building themes with a logo called: glide.ui.polaris.theme_builder.override_logo. Set that to true and see if your image appears.
I tested it on my PDI and it dynamically changes the header logo when I change the theme.
Hopefully that helps solve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 09:39 PM
That was what it was. The property was missing on my WDC instance. Once I created it, the logos from my themes applied correctly.
--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 08:56 AM
Hi, I'm actually trying to figure out how to include a custom logo in a theme variant. If you know how, could you please post here: https://www.servicenow.com/community/developer-forum/theme-builder-apply-theme-to-single-user/td-p/2.... Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 12:27 PM
I posted on the other thread.
--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow