Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Create a Sharepoint subfolder in Sharepoint Online for the record created from CRM Online.

Posted on by 160

Hi.

I am trying to create a sharePoint subfolder in sharepoint from the record created in CRM Online. At the moment, my code is able to create a document location in CRM but I am final aim to create a sharepoint subfolder inside the folder that is manually created from CRM.
Is there a specific method or code inorder to achieve this? I have followed sample code from http://develop1.net/public/post/SharePoint-Integration-Reloaded-e28093-Part-3.aspx which is very helpful but unable to crack the final goal that i am looking for. 

Someone with really good understanding of CRM Online and sharepoint Online integration would be of great help. Eagerly waiting for your reply.

Note: Using CRM and Sharepoint Online instead of on-premises products as they require specific dll's inorder for code to work. Dll's doesn't work for Online products.

Thanks,
SD_Dev 

*This post is locked for comments

  • Suggested answer
    MSCRM Guru Profile Picture
    MSCRM Guru 600 on at
    RE: Create a Sharepoint subfolder in Sharepoint Online for the record created from CRM Online.

    Sounds like what you really need is details on how to create the folder in SharePoint through the API.  Have a look at https://msdn.microsoft.com/en-us/library/office/dn292553.aspx to get more details on that one.

    If you need something to trigger this you can create a Plugin on the creation of a Document Location.

    Good luck.

  • SD_Dev Profile Picture
    SD_Dev 160 on at
    RE: Create a Sharepoint subfolder in Sharepoint Online for the record created from CRM Online.

    Thanks Jason for your reply.

    But this source is not very helpful in terms of creating subfolder(s) for an already created folder in Sharepoint.

    Maybe there might be some other source that would be helpful? Please let me know.

    Thanks,

    SD_Dev

  • Suggested answer
    jlattimer Profile Picture
    jlattimer 24,558 on at
    RE: Create a Sharepoint subfolder in Sharepoint Online for the record created from CRM Online.

    You might look at the blog posts here: http://journeyintocrm.com under the SharePoint topic. He walks through using the REST API to perform operations like creating folders and it doesn't require the SharePoint .dlls so it works from CRM Online.

    In this post there is a link to some sample code: http://journeyintocrm.com/archives/280

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans