Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to disable attachments option?

ram2497
Tera Contributor

How to disable attachments option?

1 ACCEPTED SOLUTION

Monika2
Giga Guru

Hi Ram,

1) open the record(incident , change etc)

2) Right click on header then on configure-> Dictionary

find_real_file.png

 

3) Open the record with column name as blank.

find_real_file.png

 

4) Click on Advanced view related list.

find_real_file.png

 

5) In attribute field add one more attribute as no_attachment.

find_real_file.png

 

Hope that helps.

 

Best Regards,

Monika

View solution in original post

9 REPLIES 9

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,


Where you want to do it?

 

On Any form.


Thanks,
Ashutosh

ram2497
Tera Contributor

Any forms(incident,problem,change)

HI,


See below links, Which is a perfect solution:

https://community.servicenow.com/community?id=community_question&sys_id=1a121721db101fc01dcaf3231f9619f0

 

https://fruitionpartners.eu/blog/2017/05/17/hide-attachments-servicenow-form/

 

Thanks,

Ashutosh Munot

Jaspal Singh
Mega Patron
Mega Patron

Hi Ram,

 

You can have a OnLoad client script written with below snippet for necessary tables.

 

function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementById('header_attachment').style.display="none";
document.getElementById('section_header_spacer').style.display="none";
}

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.