- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 06:16 AM
I have made a significant number of Theme variants. I am curious to know if anyone has found a way to sort them alphabetically for user selection.
For example, if a user were to select a different "Theme" in their Preferences, they would see these out of order selections:
I have two solutions I tried to get these to sort alphabetically, but neither were successful.
First, I tried sorting the UX Theme Style [m2m_theme_style] records by the order value in an alphabetical manner. Like this:
This seems to have no effect on Variants. It seems to only effect the precedence of settings on the Core UX Theme Styles. (For example, if you make the same declaration in two different Core UX Theme Styles, then the style with the higher order value appears to take precedence.)
The other sorting solution I tried was to make a Before Query Business Rule on the table UX Theme Style [m2m_theme_style] in an attempt to force queries to sort results by either the 'Order' or 'Style' fields, but this did not have any effect on how the Themes are presented in the user Preferences.
I tried the same thing on the UX Style [sys_ux_style] table with no effect either.
At this point, I am out of ideas on how to sort the Theme options in User Preferences.
Any ideas? 🤠
--------------------------------------------------
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
09-26-2024 08:58 AM
I just was looking for the same thing. I don't know if this is still an issue for you, but I found this on ServiceNow Docs -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 08:58 AM
I just was looking for the same thing. I don't know if this is still an issue for you, but I found this on ServiceNow Docs -