How to set size limit for attachment?

Sirisha Navudu2
Giga Expert

Hi 

there is a requirement where we need to set the size limit as 5mb for attachment. how to set the size limit for attachment. provide any solution.

4 REPLIES 4

Aman Kumar S
Kilo Patron

Hey,

You can edit system property :

  1. Log in to the instance with an admin account
  2. Using the Navigator, browse to System Properties > Security.

    The Security Properties page for the instance will appear.  Locate the property on the page with the heading "Maximum file attachment size in megabytes". In this field, you can change the maximum allowed attachment size (in MB).



  3. Save.
    • The change will be reflected immediately on the instance.
  4. If the field is left blank (no value) the default limit (currently set at 1 GB) will be used as the maximum attachment file size.

 

Follow below article for more info:
How to adjust the maximum allowable size of an attachment to a record

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions šŸ™‚

Best Regards
Aman Kumar

OlaN
Giga Sage
Giga Sage

Hi,

There is a property for this purpose. Read in the Docs

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

There is a system property for this. But it would impact the entire instance

Why not use before insert business rule on sys_attachment to check this

This link has the working solution from Pradeep

Ensure you use correct table name

Restriction for 5 MB, "File size exceeds. It should not be more than 5MB" on incident user should re...

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

above link showing as access denied, Can you please share me this solution please.