Make add attachment icon mandatory on catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 08:35 AM - edited 05-16-2024 08:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 10:18 AM
@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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 10:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 11:25 AM
Hi @harry24 ,
You can refer the below article,
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang