Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

sharepoint document folder

Posted on by 2,397

Hi, I am wondering when creating an account or contact,  the sharepoint document folder will be automatically created? I have set the default document folder

*This post is locked for comments

  • Verified answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: sharepoint document folder

    Refer the following:

    blog.westmonroepartners.com/creating-a-folder-in-sharepoint-from-a-crm-plugin

    Hope this helps

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: sharepoint document folder

    I am following this article, but it only create sharepoint document locaton in CRM not in share point

    msdn.microsoft.com/.../gg309548.aspx

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: sharepoint document folder

    Refer the following:

    www.c-sharpcorner.com/.../programmatically-adding-document-to-sharepoint-document-library

    Hope this helps

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: sharepoint document folder

    you have sample to create sharepoint folder?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: sharepoint document folder

    Hi,

    From code you need to perform two things:

    1 - Create the folder under Sharepoint Site Collection that you are using, directly on SharePoint. Notice that for this creation on SharePoint you need to consume the SharePoint Web Services, not Dynamics CRM.

    2 - Create a Document Location and set the account or contact on that document location to be related. You need to create the path on CRM by using document locations. You can do this by using Dynamics CRM SDK. Is worth to know how document locations first works on Dynamics CRM.

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/create-edit-document-location-records

    Cheers!
    Pedro Pisco

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: sharepoint document folder

    from the code, how can I create the folder?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: sharepoint document folder

    Hi,

    When creating an account or contact record on Dynamics CRM, it will not create the folder (for that records) on SharePoint, you need to navigate to Documents area first.

    Cheers!

    Pedro Pisco

Under review

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans