Show only some roles in "User Roles" field type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 01:57 AM - edited 05-24-2024 01:58 AM
Hello,
On the Knowledge Article form we have a field called "Roles".
The field type is "User Roles" and shows as below.
Instead of showing all the roles in the available list, I want to show only "itil", "itil_admin" and "admin".
I can't add ref qual to this and I don't want to give any default value as well.
How can i achieve this?
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:26 AM
I think it comes from some UI macro
Did you check that?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:37 AM
Hey Ankur,
I could not find any related UI Macro.
Would you assist me with the related record?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:34 AM
What is the use case to make changes? seems it is come from UI macro.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:39 AM
Hey,
The use case is that the knowledge articles are sitting under a knowledge base that will only be visible to "itil", "itil_admin" and "admin".
Along with that some articles are related to only "admin" or only "itil" users.
So we are creating a custom field like "Roles", but we want only with these 3 roles in it.
And as mentioned above I can't find the related UI macro, so if you can assist me with the related record it would be great!
Thanks!