I want to hide "email" on "more option" button

Arnaud5
Tera Contributor

Hi !

"Email"  is  displayed  on incident form on "more option" button .

 I want to hide it  for only  incident form  and for a specific condition. 

 

I  tried to configure the ACL, but it does'nt work.  The result is  that "email"  desappear always without testing the condition. 

Can someone help me please ?

 

1 ACCEPTED SOLUTION

vinothkumar
Tera Guru

PLease refer the below link.

 

https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/notification/reference/r_RemoveTheEmailIcon.htm

 

You can also do this with help of onLoad client script by writing something as below.

 

if(!g_user.hasRoles()){
$('email_client_open').hide();
}

View solution in original post

7 REPLIES 7

sebastian_g_snc
ServiceNow Employee
ServiceNow Employee

Hi,

If possible, do not use a client script (sorry, vinothkumar).

You just have to change the "email_client" attribute on the incident dictionary entry to false. That disables the email client for that table.

See the screenshot below.

find_real_file.png

Thank you for your answer. But I can't  write any condition with this solution. 

vinothkumar
Tera Guru

PLease refer the below link.

 

https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/notification/reference/r_RemoveTheEmailIcon.htm

 

You can also do this with help of onLoad client script by writing something as below.

 

if(!g_user.hasRoles()){
$('email_client_open').hide();
}

Hi Vinoth,

 

your post is from long ago but just in case. I tried to apply the CS as I do have to hide the email client depending on record option but it is not hiding would you have any suggestion ?

 

Thanks

Agathe