- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 02:12 AM
Hi,
I want to hide a field from sys_popup view but that field should be visible only to service_desk role users.
That role already exists in my instance.
Can anybody help me with that. Let me know if i can achieve this without coding.
Thanks,
Vaishnavi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 05:02 AM
Hi,
Yes as you said intially that you have that role in your system right so you can add that role. No script needed. If on role then you need to script as below to see if the user if part of that group or not
if(gs.getUser().isMemberOf('sys_id of Service Desk Group')){
answer = true;
}else{
answer = false;
}
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 06:55 AM
Hi,
Did it worked?
If yes then please update us and mark answer correct.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020 03:28 AM
Hi,
Yes it did work Thank you 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 04:54 AM
Hi Vaishnavi,
I think only possible way to do it is through ACL, you can apply field ACL and allow the field to be visible to the service desk only.
Mark Helpful if my answer helped you.
Regards,
Rajat Singh
