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

SharePoint path limitation avoidance for DocumentsCorePack

362 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
  • DocumentsCorePack: Best practices for Dynamics 365 on-premises to online migration projects
  • Multilingual Support in DocumentsCorePack
  • Configure DocumentsCorePack within custom pages
  • Ensuring correct time zone display for DateTime fields
  • Document Generation Failure from Missing Privileges
  • Building Custom XML for Multipart documents
Latest Articles
  • DocumentsCorePack: Best practices for Dynamics 365 on-premises to online migration projects
  • Multilingual Support in DocumentsCorePack
  • Recap: ColorCloud 2025
  • Configure DocumentsCorePack within custom pages
  • AI-Powered Document Generation with Copilot in Sales
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How to find your environment’s unique name in Microsoft Dynamics 365
  • How licenses are counted
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • 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
  • How to insert Condition Fields in DocumentsCorePack Templates designer
Categories
  • *News and General Infos* 62
  • Webinars 44
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 250
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 72
  • 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
  • © 2022 www.mscrm-addons.com. All Rights Reserved.