Unable to Attach .sta File Type Despite Updating glide.attachment.extensions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:19 PM
Hi Community,
I'm trying to enable support for uploading .sta file attachments in our ServiceNow instance, but I'm running into an issue.
What I’ve Done So Far:
- I updated the system property glide.attachment.extensions to:
pdf,docx,xlsx,jpg,png,sta
- I verified there are no extra spaces or line breaks.
- I cleared the cache using /cache.do.
- I confirmed that glide.attachment.blocked_types is either empty or does not include sta.
- I tested uploading a .sta file to an Incident record, but I still get the error:
"sample_report.sta has a prohibited file extension."
- I also checked for any Business Rules or Client Scripts that might block file types, but didn’t find anything relevant.
Question:
Is there any other configuration or hidden restriction that could be preventing .sta files from being uploaded? Has anyone successfully enabled support for custom file types like .sta?
Any help or guidance would be greatly appreciated!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:30 PM
Hi @phu2
Disable the MIME type validation amd see if it works.
Steps:
This setting can also be adjusted directly in the sys_properties record for this property:
Property name: glide.security.file.mime_type.validation
Stored as: A true/false value
To disable validation, set the property to false
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:44 PM
Hello @J Siva,
I changed the property "glide.security.file.mime_type.validation" to false and clear cache and it still not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:49 PM
@phu2 Try to zip the file and upload it into your instance.