Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to force download an attachment instead of showing the preview - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to force download an attachment instead of showing the preview
KB0785245

How to force download an attachment instead of showing the preview


4372 Views Last updated : Jan 2, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Usually, if there are huge attachments (of size more than 25MB) on any knowledge records, they get opened up in a new tab and a preview is shown.

This generally happens if you have a video (.mp4 or .mov) type attachment on any KB articles. These huge attachments will be shown as a preview in a new tab when the user clicks on them. There is a possibility that the attachments (.mp4 or .mov) will take a lot of time to load while showing the preview. Also, user cannot perform/carry out other transactions while the video preview is loaded.

Release

All Releases

Resolution

This behavior of showing video preview can be avoided. There are two system properties which control the way attachments are previewed/downloaded in the ServiceNow platform:

1) 'glide.ui.attachment.force_download_all_mime_types' and set the value to true.
This will cause the attachments to download when the user clicks on them (preview will be disabled)
[OR]
2) 'glide.ui.attachment.download_mime_types' to force download only mp4/mov video type attachments instead of showing a preview
Add "video/mp4" [or] "video/mov" according to the video types you want the user to force download.

In either of the above methods, when the user clicks on a video attachment on the KB article in the service portal, the attachment will get downloaded to the user's local machine.
This way we can avoid the preview video loading time issue. (Also, please be noted that until the file attachment gets downloaded completely on users local machine, user cannot navigate through other ServiceNow pages, which is a platform behavior)

 

Example: 'glide.ui.attachment.force_download_all_mime_types' value is set to true.

When sys property Force download all is true

Example: 'glide.ui.attachment.force_download_all_mime_types' value is set to false.

When sys property download all attachments is false

Related Links

Force Download MIME types (instance security hardening)

Note: If you set the Force Download MIME Types property to true, it overrides the Downloadable MIME types property, which is a comma-delimited listing of downloadable MIME types. To learn more, see Force download MIME types.

Downloadable MIME types (instance security hardening)


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.