- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi
I would like to make a check list available to fulfillers but only for specific users / groups.
I would like to do this using a View and only make that view available to limited users.
Can I limit views in that way easily?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I don't think you can limit access directly to users or groups but it can be achieved with adding a role to the view [sys_ui_view]. To force views you can use view rules [sysrule_view]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
2 approaches
1st approach -> Create separate form view and include that checklist formatter in that view. Then use View Rules and take
your specific user/group members to this View
2nd approach -> you can't show/hide the checklist formatter using UI policy or client script as it's not a field
1 workaround is to use DOM manipulation to hide it.
Note: DOM manipulation is not recommended
Something like this
Display BR:
(function executeRule(current, previous /*null when async*/ ) {
g_scratchpad.checklistVisibility = gs.getUser().isMemberOf("Group ABC");
})(current, previous);
onLoad client script: Keep Isolate Script = False for your DOM to run
function onLoad() {
setTimeout(function() {
if (!g_scratchpad.checklistVisibility)
document.getElementById('inlineChecklistApp').style.display = "none";
}, 1000);
}
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I believe you should mark that response as correct which has the script and approach.
This helps future members as well.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
