Ability to control the number & type of attachment uploadable through an input form screen in mobile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 11:35 AM
Hi everyone,
I've been doing some research on how to control the attachment file type and the number of attachments that can be uploaded through input form screens in the mobile app.
I need to provide the ability to the user to upload an image or take a photo and I thought to use an attachment input in an input form screen to do that. The problem is that the attachment input is general and allows not only images to be uploaded but also other file types:
Ideally, I need to hide the option to upload documents:
Also, my requirement is to limit the number of attachments that can be uploaded per input to only 1.
I have tried to validate this from the action item script but won't work since to validate I need the attachment records created in the instance and that occurs after the action item script runs.
I was looking for some attributes on Input form screen attributes for inputs (servicenow.com) but there is nothing listed for attachment inputs.
I think there is not too much I can do for now to meet this requirement but let me know if someone else has achieved something similar.
I hope ServiceNow introduces new attributes in the future to handle this.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 05:42 AM
Hi @Ramon Cordova
Did you able to solve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 07:32 AM
Hi @EbrahimAli,
Unfortunately, no, I wasn't able to find a solution for this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 11:17 PM
Hello @Ramon Cordova
since yokohama, you can hide attachment sources (files, camera or gallery).
See details: https://www.servicenow.com/docs/bundle/yokohama-mobile/page/administer/tablet-mobile-ui/reference/pa...
However, I did not find a way to limit the number of attachment on the mobile side.