SharePoint OnPremises & Online: ¿Qué restricciones aplican en las longitudes de las Urls?

Esta es la pregunta que hacía el otro día en uno de los foros sobre SharePoint y Office 365 que suelo seguir. La respuesta, que podéis encontrar detallada en el siguiente enlace https://technet.microsoft.com/en-us/library/ff919564(v=office.14).aspx, es la siguiente (Nota: Los límites detallados son para SharePoint 2010, pero aplican también en SharePoint 2013):

The total length of the URL path to a folder or a file in SharePoint Server 2010 but not to the length of any parameters. Also, these limitations apply only to un-encoded URLs, not to encoded URLs. There is no limit to encoded URLs in SharePoint Server 2010. The limitations are the following:

  • 260 Unicode (UTF-16) code units – the characters in a full file path, not including a domain/server name.
  • 256 Unicode (UTF-16) code units – the characters in a full folder path, not including the file name and the domain/server name.
  • 128 Unicode (UTF-16) code units – characters in a path component, that is, a file or folder name.
  • 260 Unicode (UTF-16) code units – the characters in a full path, including a domain/server name for use with Office clients.
  • 256 Unicode (UTF-16) code units – the characters in a full path including the domain/server name, for use with Active X controls.

Otras referencias: