Make add attachment icon mandatory on catalog item

harry24
Tera Contributor

Hello ,

 

I want to make the add attachment icon mandatory in catalog item based on catalog variable value . Check attached screenshot for the requirement

 

How to do this ?

 

Thanks

 

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@harry24 Please refer to this support article https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0743672 to know the steps to make attachment mandatory on the Service 
Portal. Using this example, you can check the variable inside the onSubmit script and throw an alert if the variable is true and attachment count is zero.

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Did you try the out-of-the-box field for mandatory attachment?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

swathisarang98
Giga Sage
Giga Sage

Hi @harry24 ,

 

You can refer the below article,

https://www.servicenow.com/community/itsm-articles/making-attachment-mandatory-for-a-catalog-item-de... 

 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang