I want to hide a field from a sys_popup view

Vaishnavi35
Tera Guru

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

1 ACCEPTED SOLUTION

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

View solution in original post

13 REPLIES 13

Hi,

Did it worked?

If yes then please update us and mark answer correct.


Thanks,
Ashutosh

Hi,

Yes it did work Thank you 🙂

Jaspal Singh
Mega Patron
Mega Patron

Hi Vaishnavi,

 

You can give link a check.

Rajat singh2
Kilo Guru

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