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)/How to automatically create SharePoint folders and subfolders using DocumentsCorePack OnPremise

How to automatically create SharePoint folders and subfolders using DocumentsCorePack OnPremise

3505 views 0 Updated on December 17, 2022

It is possible to automate the creation of SharePoint folders and subfolders with DocumentsCorePack (DCP). This article shows how to setup automatic folder creation via classic Dynamics 365 on-premise workflows.

Step-by-Step description:  Automatically generate folders for created accounts.

Step 1: Create a new Workflow for the Account table.

Create a new Workflow for the Account table.
Figure 1: Create a new process

Step 2: Define the following settings.

  • Process Name: CreateFolder
  • Activate as: Process
  • Entity: Account
  • Category: Workflow
Add a new step and select CreateSharePointFolder.
Figure 2: Add a new step (CreateSharePointFolder)

Step 3: This window opens. Add the next step Create Record to your workflow and name it (for example, Create Folder) and look for the AutoMergeWF:CreateSharePointFolder.

image
Figure 3: Name the new step 

Step 4: Open the [Set Properties]. In the following window, define the SharePoint location, folder(s) and subfolder(s).

Example of an added SharePoint subfolder.
Figure 4: Example SharePoint subfolder added

Syntax:

  • “;” separate list of folders
  • “/” creates subfolders

Example:

TEST/subfolder 1;TEST/subfolder 2;TEST1/subfolder 1

Creates folders as follows:

Folder Structure

Step 8: Now you have to activate the process.

Activate the workflow.
Figure 5: Activate workflow

Then click the [Activate] button again to confirm the process.

Press the Activate button to confirm the process.
Figure 6: Confirm the process

Execute workflow:

Create a new account in your system. Once the workflow is finished you should see the following folder structure on the newly created document location for the account.

Example of the SharePoint document location based on the workflow.
Figure 7: Example – SharePoint document location based on workflow

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.