- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 11:56 PM
Hi all,
There is way to show filters and breadcrumbs only for users with particular roles using script include or by configuring list control for a particular table. But in this way we can configure for only one table at a time. Is there a way where we can configure this globally?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 04:21 AM
Hi Tharun,
You can create a script include with name "{table_name}DisplayFilter" in you case "globalDisplayFilter" and write a function as written below.
function globalDisplayFilter() {
var answer = true;
return answer;
}
Note: The name of the function and name of the script include must be same.
Thanks,
Tharun Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 01:36 AM
Hi @Tharun_M
Experts are already on it, but I would like to know what is use case of same? Why only for few users you want to hide/ show.
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
01-03-2024 02:51 AM
Hi Atul,
Thanks for your reply.
In our instance we have a custom role and the filter icon is visible only to the users with that custom role. Now I have to make the icon visible to all the users in all the tables. I couldn't find where this configuration((filter icon visible only to users with particular role) is defined in our instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 02:58 AM
Hi @Tharun_M
Thanks for clarification. Got the point. You can follow the suggestions provided by @Sohail Khilji @Anil Lande
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
03-11-2024 04:21 AM
Hi Tharun,
You can create a script include with name "{table_name}DisplayFilter" in you case "globalDisplayFilter" and write a function as written below.
function globalDisplayFilter() {
var answer = true;
return answer;
}
Note: The name of the function and name of the script include must be same.
Thanks,
Tharun Kumar.