Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

File upload size limit in CMS 12?

Vote:
 

Hi!

I have tried to search for how I can set the file upload size limit for CMS 12/.NET 5? Google is however not my best friend at the moment.

I'm thinking it might be possible in app settings.json, or can I set it in code?

/Jocke

#266107
Nov 01, 2021 23:47
Vote:
 

Hey Jocke,

In appsettings.json, it looks like this:

{
  "EPiServer": {
    "CmsUI": {
      "Upload": {
        "FileSizeLimit": 104857600
      }
    }
  }
}

Here's the link in the documentation: https://world.optimizely.com/documentation/developer-guides/CMS/configuration/configuring-episerver-ui 

#266126
Edited, Nov 02, 2021 15:40
Jocke Pihlström - Nov 02, 2021 20:59
Thanks Chris! Just what I was looking for!
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.