Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to send associated documents/attachments (from SharePoint) of a CRM record and send to CRM users in an email

Posted on by 185

Hi guys!

I am using the latest CRM version online.

Is there a way to attach associated documents/attachments and include it in the email to be sent using plugin/custom workflow? 

Also, pointing the SharePoint URL document location is not an option to the client.

I don't know much about Sharepoint development. Thanks!

*This post is locked for comments

  • Inogic Profile Picture
    Inogic 24,094 on at
    RE: How to send associated documents/attachments (from SharePoint) of a CRM record and send to CRM users in an email

    Hi JZ,

     

    You can try using Attach2Dynamics, it offers all the features you are searching for and also, in future Attach2Dynamics will support moving of attachments to Azure Blob Storage.

    For more details drop in a mail on crm@inogic.com.

    Hope this helps.

    Thanks!

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to send associated documents/attachments (from SharePoint) of a CRM record and send to CRM users in an email

    Hi JZ,

    For SP, you need to use Re

    For integrating SP with CRM Online, you need to use SharePoint REST API's. Its not a simple code snippet but a full implementation. You can start this using the below sample-

    code.msdn.microsoft.com/SharePoint-Integration-c5f21604

    I would suggest to go through this sample, make it work and get the understanding on how things wors in this sample. Once you are familier, extract code from this sample to your custom workflow and build your own implementation. This has sample classes to get the file content as well.

    Hope this helps.

  • JZot Profile Picture
    JZot 185 on at
    RE: How to send associated documents/attachments (from SharePoint) of a CRM record and send to CRM users in an email

    Sorry full URL is : xxxxxx.sharepoint.com/.../EX4UH3GLnppHutRBPWKhMjIBQZeR0sJwyPLeu3i9ikLTBg

  • JZot Profile Picture
    JZot 185 on at
    RE: How to send associated documents/attachments (from SharePoint) of a CRM record and send to CRM users in an email

    Hi Mahender!

    Thank you for your email!

    Can you please let me know how do I get the file byte from Sharepoint?

    I have this full URL of my attachment in SP xxxxxxxx.sharepoint.com/.../EX4UH3GLnppHutRBPWKhMjIBQZeR0sJwyPLeu3i9ikLTBg

    Thanks!

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to send associated documents/attachments (from SharePoint) of a CRM record and send to CRM users in an email

    Hi,

    Did you try this code: stackoverflow.com/.../add-a-document-from-sharepoint-to-dynamics-crm-workflows-email

    You can look for some addons like :

    www.mscrm-addons.com/.../DocumentsCorePack

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