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.

Throw Error message if no attachments found in catalog item

sudhakar kondap
Tera Contributor

I have created a catalog in that there is an OOB functionality to "Add attachments" I want to add on submit restriction if no files attached how can i do that , on submit client script is not working 

sudhakarkondap_0-1759985571824.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@sudhakar kondap 

You can mark this checkbox so that attachment is mandatory on portal

AnkurBawiskar_0-1759985956498.png

 

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@sudhakar kondap 

You can mark this checkbox so that attachment is mandatory on portal

AnkurBawiskar_0-1759985956498.png

 

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader