- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 05:57 AM - edited 12-13-2023 05:57 AM
Hi,
I'm doing variants of Audit Workspace Homepage for different user groups. In variant settings I can define audience for variant, but I can't see my user groups here. Why I'm only seeing 78 groups what I can define for variant? I have 1131 user groups in sys_user_group.list
How to add "custom" user group for page variant audience? Or should I limit access to variants via ACL:s? What would be best way to do this?
Thanks in advance.
This documentation did not help: https://docs.servicenow.com/bundle/vancouver-application-development/page/administer/ui-builder/task...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 01:29 AM - edited 02-13-2025 01:01 AM
Here step by step how to create new Audience to workspace.
1. Create new Audience at: sys_ux_applicability.list by clicking new
2. In this new record, on the bottom create new user criteria inclusion, by clicking new
3. Open record, open "can read"
4. Create new user criteria record by clicking new -> user_criteria.do
5. Now you can add specific group to user criteria which is under user criteria inclusion, which is under new audience you created
6. Now you can add this custom audience, which has specific group in ui builder.
That's the easiest way to show page variants for specific audience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 06:22 AM
Hi @Miikka_M
before using an audience you have to add one by clicking on the respective "+" sign:
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 12:54 AM
I still can only see only some of groups, but not every group instance have. I'd like to show this workspace only for users who work in specific country and are in that specific created group. But for example this and many other user groups are not available.
Am I missing something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 07:32 AM
Hi @Miikka_M ,
- Role
- Group
- User
- Company
- Department
- Location
- Script
You can set audiences to fit a specific role based on one or more criteria. For example, you could create an audience for an ITSM user in Europe who is not a manager.
The glide.ux.user_criteria_enabled property needs to be set to true to configure access for users based on role, department, group, location, or company. See Enable the user criteria property, for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 12:52 AM
Hi Sandeep, and thanks for your answer. Seems like I'm getting there, but still I can't see all user groups I have.
I activated that property, thanks for that tip!
In UI Builder I click "edit all audience"
I still can only see only some of groups, but not every group I have. I'd like to show this workspace only for users who work in specific country and are in that specific created group.
Am I missing something?