Limit Template Sizes

Scenario/Problem: You want to modify the size limit the Access templates uploaded to SharePoint.

Solution: Use the TemplateSizeMax parameter with the Set-SPAccessServiceApplication cmdlet.

The TemplateSizeMax parameter can be used to configure the maximum size of an Access template. The default is 30MB. An entry of -1 denotes no limit, and a valid entry is any positive integer. Listing 23.16 shows an example of modifying the template size limit.

Listing 23.16. Modifying the Template Size Limit

Set-SPAccessServiceApplication -Identity "Access Services"-TemplateSizeMax 20

Similar to web applications limiting documents over 50MB, the Template Size setting, by default, limits the uploading of Access templates that are more ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.