mscrm-addons.com - Blog

News.mscrm-addons.com Blog

rss

Hello and welcome to our blog! What can we do for you? Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons? Please feel free to browse our blog for detailed information and to share our posts!


SharePoint path limitation avoidance for DocumentsCorePack

SharePoint paths limitations are hard coded. The maximum path length is 260 characters. If that limit is exceeded, you get the SharePoint error 414. This article outlines how to avoid this error. 

Minimum requirements: DocumentsCorePack v.167or higher 

mscrm-addons products offer several default ways to shorten SharePoint paths:


1) We provide you with a default shortening to a maximum of 30 characters + GUID for each folder name. 

SharePoint folder maximum length:

This setting cuts SharePoint folder names that are longer than a certain amount of characters. 

2) We provide you with a default shortening to a maximum of 128 characters for each file name


3) ShortIDs: We create a 6-characters ID alternatively to the well-known 36 GUIDs of Microsoft Dynamics 365.  

 

It is recommended to activate ShortId to avoid the SharePoint error 414 you get because of the path limitations of 260 characters. With ShortId we create a 6-characters ID instead of the 36 GUID like you can see in the example below. 

 

How to activate a ShortID for DocumentsCorePack

To create a ShortID for DocumenstCorePack simply navigate to Settings > DocumentsCorePack in your Microsoft Dynamics 365  application.

  

Here, please add/enable the following options: 

Use short Documentation Logic


The setting in the figure below cuts SharePoint path automatically. 

 

4) Use an alternative field for the generation of paths (e.g. instead of account name we can use a unique account number field)

For the SharePoint folder name attribute:

SPFolderNameAttribute: enittyschemaname;attributename|

e.g.: Account:ptm_name

  

Please note: Even though the creation of short paths is a very valuable feature, existing paths cannot be shortened anymore, unless very specific criteria are met. Manual interaction is always required.

 

For further information on how to correct SharePoint paths exceeding the limitations, please have a look at this blog article

That's it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com!

 

 




Comments are closed.