web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Automatically Create a Folder in SharePoint when a new Product is added in CRM Dynamics

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a problem that I can't figure out how to solve. I'm grateful for all tips and advice I can get.

To give you some background I have created a workflow in CRM that connects a product to the corresponding folder in SharePoint. So let's say I add product 1234, it will automatically create the path https://[companyname].sharepoint.com/product/1234. This works perfectly when I already have created a folder in sharepoint named 1234 to map it to. I can then easily add documents from CRM or sharepoint. The instruction I followed to do this is: http://crmbook.powerobjects.com/system-administration/sharepoint-document-management/beyond-basic-integration/bulk-creating-sharepoint-folders-and-automatic-integration-with-dynamics-crm/

The problem occurs when I'm adding new products that don't have a folder in sharepoint. I would therefor want to create a workflow where it first creates a folder with the product name, and then continue with the existing workflow which maps it to this folder.

Let's say I'm creating product 5678, then I want the workflow to create a sub-folder in the folder Product with that name, and then map to it automatically through the path https://[companyname].sharepoint.com/product/5678

Grateful for all tips and advice!!
Thank you

Olivia

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Wayne Walton Profile Picture
    13,730 on at
  • Lund Profile Picture
    on at

    Hi, and thank you for your quick response.

    I went through the steps, but my document management settings doesn't look the same as shown in that guide. When I choose which Entities I want to create folders for, and click next, I only get the option Select folder structure - based on entity. Not the second choice explained in the guide "automatically create folders". Could there be a setting I need to change?

    Thanks very much

    Olivia  

  • Inogic Profile Picture
    703 on at

    Hi Lund,

    “Automatically create folder” setting is available on 2016 online environment under Document Management Settings.

    m2.jpg

    However you can also create folder programmatically on your SharePoint site, please refer below link for reference
    http://www.inogic.com/blog/2015/10/programmatically-create-folders-and-upload-files-in-sharepoint-server-2013-through-plug-inworkflow/ 


    Hope this will resolve your issue.

    Thanks,

    Sam

  • Lund Profile Picture
    on at

    Hi Sam,

    That is so strange, since I have the latest CRM installed (2016), but I don't see the second option in that window. I'm not a programmer, so I won't be able to create folders programmatically. Any ideas why the check box "automatically create folders" doesn't appear for me?

    3252.Document-Managemenet-Settings.png

    Thanks for you help!
    Olivia

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans