The CreatorCon Call for Content is officially open! Get started here.

Make Attachment not visible for users

Charan 1997
Tera Contributor

how to make attachment type read only for abel tuter user in servicenow.?

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Charan 1997 

 

You want to hide the attachment clip for all user ?

 

Try with client script

 

if(g_user.hasRole('ITIL'))
{
g_form.disableAttachments();
}

 

https://www.servicenow.com/community/itsm-forum/how-to-hide-attachment-icon-on-incident-form/td-p/84... 

*************************************************************************************************************
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]

****************************************************************************************************************

Thanks for reply.
But i want to achieve with ACL not from Client Script.

Hi @Charan 1997 

 

Below posts could be helpful :

https://www.servicenow.com/community/developer-forum/how-to-disable-attachments-in-incident-form-by-...

https://www.servicenow.com/community/itsm-forum/can-we-hide-attachment-icon-on-the-portal-when-the-s...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Amit Verma
Kilo Patron
Kilo Patron

Hi @Charan 1997 

 

Can you please explain your requirement in detail ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.