Mobile attachments in ServiceNow are controlled by several separate settings. You can limit where photos and files come from, switch off image editing, keep files from leaving the app on Android, stop sharing, grant or withhold access for external users, and choose whether uploads run in the background. Name the risk first, because each control sits in a different place.
Map each risk to the right setting
Use this table to find the control before you open any record.
| Concern | Control | Where it is set |
|---|---|---|
| Restrict where photos and files come from | Attachment sources | Mobile App Builder, on a function, activity stream or input form screen |
| Stop image editing | Image annotation | Mobile property imageAnnotationEnabled, set to false in the Mobile Properties list |
| Keep files inside the app on Android | External viewing block | System property |
| Stop downloads and sharing | Sharing block | System property |
| Hide attachments from mobile entirely | Access control rules | ACLs on the attachment table |
| Let external users work with attachments | External user attachment access | Mobile property |
| Upload in the background | Asynchronous uploads | Mobile property |
Mobile properties and role exemptions reach a device after the user pulls to refresh, so test with a real account first. For a wider set of checks before a rollout, use the testing and acceptance checklist.
Limit where images and files come from
Attachment sources on mobile are the device camera, the phone’s photo gallery and the file system. The setting works as a list of sources to hide, not a list to allow. An empty list leaves all sources open. The setting covers activity stream, function and input form screens, and scripted screens built with Mobile App Bridge or the Cabrillo JavaScript module.
The steps depend on where the attachment starts. On a function of the upload attachment type, add a button attribute named hidden_attachment_sources and enter camera, files or gallery in its value, separated by commas. On an activity stream screen, open the activity stream screen record, choose the Hidden attachment sources area, select the sources to hide and apply. On an input form screen, add an attachment input, then add an input attribute named HiddenAttachmentSources for each source to block, since each attribute holds one value.
The Yokohama release splits input forms into two entry points. An attachment-type input value and an input action can both take images from the camera and the gallery, but only the input action menu reaches the file system. Neither can source or record videos. Plan restrictions for each entry point separately. All of this runs in Mobile App Builder and needs the admin role.
Turn off image annotation
By default, users can annotate images on the phone by adding text, drawing or highlighting areas. Turn annotation off with a True/False mobile property named imageAnnotationEnabled and the value false. An empty value leaves annotation enabled, and the Mobile App Config and Mobile Application fields have no effect on this property. Where a photo may later serve as evidence, annotation is the risk, because an edited picture no longer matches what the camera recorded.
Show attachment lists on record screens
Attachments do not appear on mobile record screens until you enable them. In Mobile App Builder, select the Activity Stream entry in the configuration tree and tick the Show “Attachment” button option in the Settings section. The attachment list then sits at the bottom of the Details tab, with a preview for each file. A record with no attachments shows “No attachment”.
Previews cover common image, video and document formats. Some formats may need an app on the device before a file opens.
Users can delete or rename attachments from the list, subject to the access control rules on the instance.
Hide attachments from mobile with access control rules
If mobile users should have no access to attachments, disable them with access control rules on the attachment table. Changing these rules is a security decision, so make the change under an administrator who owns attachment access and test it on a non-production instance first. Record the current rule logic before changing anything, so the change can be reversed.
Repeat the change on the create rule to stop uploads. Review the other ACL rules on that table as well, because they decide what a user can rename or delete.
Keep Android files inside the app
On Android, users can open an attachment in a third-party app unless the property below is set to true. Setting glide.sg.block_mobile_attachments_external_viewing to true limits opening to the internal native viewer, which handles images, videos and PDFs. Other types show an error message. The property needs Android client version 19.5.1 or later and has no effect on iOS.
Sharing is a separate control. The property glide.sg.block_mobile_attachments_sharing decides whether the share button appears in the native viewer. At false, users can download or share. At true, the button disappears and they cannot. Set both when files must stay in the app.
To change either property, open sys_properties.list in the Application Navigator, open the record, set the value to true or false and save.
| Property | When set to true | Platform note |
|---|---|---|
| glide.sg.block_mobile_attachments_external_viewing | Android attachments open only in the internal viewer | Android only, client 19.5.1 or later |
| glide.sg.block_mobile_attachments_sharing | Share button hidden, so no download or sharing | Mobile native viewer |
Let some roles share on Android
When one group may share or open files outside the app and another may not, plan both groups first and assign each its roles. Set both system properties to true. Then create a mobile property record for each one in the Mobile Properties list. Name each record exemptedRoles- followed by the exact system property name, which is case-sensitive. Set the type to True/False, set the application scope to Global, and enter the role names in the Value field, separated by commas. You can link the record to a Mobile App Config or a Mobile Application so it applies to that app’s users. Submit, then have end users pull to refresh.
Give external users attachment access
Users with the snc_external role are typically third parties, contractors or external agents, with fewer privileges than internal users. On mobile they cannot view, upload or download attachments by default. Access is turned on with a mobile property named allow_snc_external_attachment_access, which is off by default.
Create it in the Mobile Properties list with type True/False and value True. Link it to a Mobile App Config or Mobile Application so other external users keep the default. Once true, external users can use offline mode and open attachments from activity streams, input form screens (Rome and later), the legacy parameter screen (Quebec and earlier) and the attachment list on details screens. The user must pull to refresh before the change applies.
External users get no Zing search bar on screens that use Zing search, no Performance Analytics or reporting charts, no debug drawer, and no mobile impersonation, so confirm which external roles need attachments before enabling the property. For who should make that decision, see the roles, responsibilities and RACI page.
Upload attachments in the background
Set the mobile property AsyncAttachmentsUploadEnabled to true to turn on background file uploads, which the topic supports only on input form and activity stream screens. To control retries, create a property named AsyncAttachmentsUploadNumRetriesBeforeFailure with the type Integer, and set the value to the number of automatic retries before an upload is marked failed.
How mobile properties are chosen
Mobile properties are key and value records in sys_sg_properties, sent to the app after authentication. They let an admin switch features without an instance upgrade, which matters because monthly app releases can carry new features. A property with the same name can exist in several scopes. A Global one takes precedence; otherwise the latest updated one applies, so compare scopes and updated times when a change seems to do nothing.
Frequently asked questions
Can I block the camera but still allow gallery uploads?
Yes. List camera as the hidden source on a function or activity stream screen, or add a HiddenAttachmentSources attribute with camera as its value on an input form screen.
Does blocking Android external viewing also stop sharing?
No. External viewing controls opening files in other Android apps. Sharing has its own system property that hides the share button, so set both to keep files inside the app.
Does the external viewing block work on iPhones?
No. The property has no effect on iOS devices.
Why did my mobile property change have no effect?
Mobile property changes take effect for a user once they pull to refresh. Also check for an older property with the same name in another application scope: a Global property always wins, and otherwise the most recently updated one applies. For how the app itself is published, see the publishing a ServiceNow mobile app guide, and for other mobile problems, the troubleshooting guide.
Can external users upload attachments by default?
No. External users cannot view, upload or download attachments on mobile by default. Access is turned on through allow_snc_external_attachment_access, linked to the mobile app configuration those users receive.
For how attachments are encrypted and who can reach them on the instance, see the attachment encryption and access limits guide. The mobile experience security and access design page places these controls within a wider access model, and the ServiceNow mobile experience guides hub lists the rest of the series.