• Documentation
  • Back to www.mscrm-addons.com
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/SharePoint path limitation avoidance for DocumentsCorePack

SharePoint path limitation avoidance for DocumentsCorePack

45 views 0 Updated on March 25, 2020

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. 

 

 Example for ShortId

 

Figure 1: Example for ShortId

 

​

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.

DocumentsCorePack settings

Figure 2: DocumentsCorePack settings

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!

Was this helpful?

Yes  No
Related Articles
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
  • Service Configuration options
  • Multipart documents in DocumentsCorePack
  • Azure Active Directory Licensing counts explained
  • DocumentsCorePack: Performance benchmark, limitations & scalability
Latest Articles
  • How to display various activity-attributes within multiple rows in Gantt view
  • Recap: European Power Platform Conference 2022
  • How to solve the issue with DocumentsCorePack fields in Arabic text
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
Popular Articles
  • DocumentsCorePack Online Service Configuration
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • How licenses are counted
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Can you save data capacity by moving email content?
  • Online Services: Required Application Permissions
Categories
  • *News and General Infos* 50
  • Template Designer(DCP 160
  • DocumentsCorePack(DCP 180
  • TelephoneIntegration (TI 64
  • AttachmentExtractor (AE 55
  • PowerSearch (PS 43
  • ActivityTools (AT 57
  • SmartBar (SB 51
  • GroupCalendar (GC 45
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.