Attachment validation on catalog item on submit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2020 10:51 PM
Hi Community,
I have some requirement like I have to check and validate something on attachment.
While submitting catalog item I have to check, user attached the attachment or not, if yes need to validate right attachment or not and, if yes, I need to check that attachment has 50 records or less than 50 records in that.
we have some field on the catalog form like attachment, it holds (true/false) values.
Labels:
- Labels:
-
Scripting and Coding
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 08:28 AM
you can enhance the code further to check the attachment file extension etc when attachment is present.
Regards
Ankur
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader