There are a number of limitations in SharePoint on how many characters a filename or path can contain when saving, opening files and modifying. There are also limits imposed by MacroView DMS when dealing with some file types.
This article explains those limitations and how they impact saving files, opening files, and when performing other operations using MacroView DMS. Note that references to DMS refer to both DMS and DMS Pro Solutions in this article.
Understanding terms used in this article
The total URL length is the length of the folder or file path including the protocol prefix, SharePoint server or Office 365 tenant reference, folder or file name, and any parameters that are included as part of the URL. e.g. https://tenant.sharepoint.com/site/library/folder/folder/document.ext + parameters
The server relative path refers to the path following any SharePoint server or Office 365 tenant reference. e.g. https://tenant.sharepoint.com/site/library/folder/folder/document.ext
The validated path is the path or URL after any encoded characters have been validated. For example, a single space character in a validated path is represented by %20 in an encoded path.
SharePoint filename and path limits
The following character limits are imposed by SharePoint.
Validated path | Office 365 (SharePoint Online) |
On-premises SharePoint 2019 |
On-Premises |
Item or filename | 400 | 400 | 128 |
Folder name | 400 | 400 | 128 |
Document set name | 255 | 128 | 128 |
Parent folder path | 400 | 400 | 256 |
Item full path | 400 | 200 | 260 |
Filename and path limits when using MacroView DMS
Generally, MacroView DMS imposes similar restriction on file and path lengths as SharePoint, however in some earlier versions the limitations in various situations may be tighter to ensure that they apply across all version of SharePoint. In addition, some operations in MacroView DMS require that files be saved temporarily to the local computer, meaning the filename and path restrictions are limited by the operation system of the computer.
The tables below provide the filename and path limits imposed by MacroView DMS when working with each version of SharePoint.
DMS Versions 8.7.100 or later
|
SharePoint Online |
SharePoint 2019 |
SharePoint 2016 |
SharePoint 2013 |
Save As to SharePoint (Word) |
228 |
228 |
228 |
128 |
Save As to SharePoint (PowerPoint) |
249 |
249 |
249 |
128 |
Save As to SharePoint (Excel) |
207 |
207 |
207 |
128 |
Save As to SharePoint (PDF) |
255 |
128 |
128 |
128 |
Rename file |
255 |
255 |
255 |
128 |
Drag & Drop |
255 |
255 |
255 |
128 |
Open file (Word) |
255 |
255 |
255 |
128 |
Open file (PowerPoint) |
255 |
255 |
255 |
128 |
Open file (Excel) |
202 |
202 |
202 |
128 |
Open file (Adobe-PDF) |
255 |
255 |
255 |
128 |
Open file (Other-apps) |
255 |
255 |
255 |
128 |
Create new folder |
255 |
255 |
255 |
160 |
Create new document set |
255 |
255 |
255 |
160 |
Rename folder |
255 |
255 |
255 |
160 |
Rename document set |
255 |
255 |
255 |
160 |
Note:
- SharePoint Server versions 2013 & 2016 only support up to 260 characters for file and path lengths.
- Microsoft Excel and older Office versions have lower limits. DMS therefore imposes file limits on these applications..;=`