Turn On/Off Next Experience UI Toggle button - glide.ui.polaris.on_off_user_pref_enabled property
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 02:07 AM
I want to make this property "glide.ui.polaris.on_off_user_pref_enabled" - which creates Turn On/Off Next Experience UI Toggle button in Preferences >> Display.
And I want this should visible/accessible only for users with Admin Role. Except Admins no one should be able to see this toggle button in their instance I've tried in many ways but couldn't achieve this.
Can anyone guide me how can I achieve this kindly suggest .
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 02:10 AM - edited 07-14-2023 02:12 AM
Hi there,
What you are describing that you are after, is not possible.
It does sound like you want to be able that admins can flip using new UI or not. If so, you could go for a workaround, having the specific User Preference as a favorite for the admins for example, so they can quickly access it and update it. Just a thought. That way the toggle switch can be off, though admins can still quickly toggle their own preference.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 02:20 AM
Hi Thanks for quick response.
I tried with user preferences using the property glide.ui.polaris.use but I couldn't be able to achieve this

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 02:30 AM
Can you share in detail what you tried than? Here it works fine.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 02:22 AM
Hello @Aarvii is here
It is not possible to show the option only for admins. Usually, I would not worry about having these options for admin as generally admin users can create the user preference manually in user preference table.
If you still want to have option for admins to switch UI, then simple workaround would be to create two modules (application navigator) in self-service or any other application and have it's visibility restricted only to admins.
1. Name: Switch to UI16
Type: URL
URL: /nav_to.do?sysparm_userpref_glide.ui.polaris.use=false
2. Name: Switch to Polaris UI
Type: URL
URL: /nav_to.do?sysparm_userpref_glide.ui.polaris.use=true
Thanks,
Ali
Thank you,
Ali