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

3427 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
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
  • DeepSign for DocumentsCorePack 
  • Generate and send a document for e-signing using DeepSign
  • How to prepare a document for DeepSign
Latest Articles
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • How to Eliminate Excess Storage Costs in Microsoft Dynamics 365 Without Losing Access to Emails and Attachments
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
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 to insert Condition Fields in DocumentsCorePack Templates designer
  • How licenses are counted
Categories
  • *News and General Infos* 64
  • Webinars 45
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 258
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 75
  • 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.