Restrict attachment of certain type while submitting the form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2022 08:50 PM
Hi All,
I have to restrict an attachment of certain type when user selects a choice and submits the form, unable to restrict using business rule due to custom scope and abort action not working.
Please let me know how I can achieve this using onsubmit client script.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2022 09:00 PM
Refer to below KB artilce.
How to restrict specific file name extensions or file types on a ServiceNow instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2022 09:03 PM
Hello Mohammed,
Can you have look into the below posts it would help you to achive your reuirement.
Please mark my response as Correct / Helpful
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2022 09:27 PM
Hi @Mohammed Rafi S,
You can refer to this ServiceNow KB article. KB0725744 Checking attachment type in Service Portal
Please mark as Correct / Helpful if this solves your issue.
Regards,
Jeff