mscrm-addons.com logomscrm-addons.com logo
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
home/Knowledge Base/DocumentsCorePack(DCP)/SharePoint path limitation avoidance for DocumentsCorePack

SharePoint path limitation avoidance for DocumentsCorePack

468 views 0 Updated on December 18, 2022

If you exceed 260 characters for the SharePoint path, you will get a SharePoint Error 414. Learn how to avoid this error in this article.

This error may occur because SharePoint path limitations are hard coded, and the maximum path length is 260 characters.

“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 number 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-character 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-character ID instead of the 36 GUID, like you can see in the example below.

 Example for ShortId.
Figure 1: ShortId example
To create a ShortID for DocumenstCorePack, simply navigate to Settings > DocumentsCorePack in your Microsoft Dynamics 365 application. Then add/enable the following options:
  • SharePoint folder max length: If the length of a SharePoint folder’s name exceeds the maximum specified value, the name is cut to the maximum allowed length (this does not apply to existing folders).
  • Use short Documentation Logic: Replaces the GUID with a tag (6byte).
    • Please Note: This requires that the “Use 2013 Doumentlocaton logic” is “active” too.

The setting in the figure below cuts SharePoint paths automatically.

DCP settings for cutting SharePoint paths automatically.
Figure 2: DocumentsCorePack settings

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

For the SharePoint folder name attribute:

SPFolderNameAttribute: enittyschemaname;attributename|

Example: Account:ptm_name

Please note: Although 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
  • Security issues when installing DocumentsCorePack (Defender)
  • Locating Raw Inputs and Outputs in Power Automate
  • Step by Step: How to execute an OCA in a Power Automate flow 
  • Stop Losing Time & Money: How Manual Document Processes Hurt Your Business
  • Debugging the Template Design Office Add-In 
  • Updating Legacy SharePoint Connections 
Latest Articles
  • The Hidden Inefficiencies Inside Dynamics 365 and How Smart Teams Are Solving Them
  • mscrm-addons.com: 2025 Year in Review
  • Security issues when installing DocumentsCorePack (Defender)
  • AttachmentExtractor: Bandwidth & Performance – FAQ 
  • Recap: Power Platform Community Conference 2025
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How licenses are counted
  • How to find your environment’s unique name in Microsoft Dynamics 365
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How licenses are counted
Categories
  • *News and General Infos* 70
  • Webinars 47
  • Template Designer(DCP 197
  • DocumentsCorePack(DCP 264
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 76
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
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
  • © 2025 www.mscrm-addons.com. All Rights Reserved.