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)

Is it possible to attach the documents uploaded to the Documents(Sharepoint) in an Email as attachments?

(0) ShareShare
ReportReport
Posted on by 1,421

Here's the scenario: 

  1. Open a record.
  2. Upload a file in the Documents(Sharepoint) section of the form.
  3. Send an Email from that record and get the uploaded documents and add it as email attachments.

Is this even possible? Any ideas?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    Is this email manually sent or automated by workflow?

    If its manually sent, yes you can browse to the SharePoint folder where the document is stored and select the file and attach to the email.

    If its going to be automated by lets say a workflow, then Dynamics 365  out of the box does not support this at the moment.

    You could go for third party solutions or you could create your own custom solution.

    Let me know if you need further information on manual attachment or custom solution

  • MRVIX Profile Picture
    1,421 on at

    Hi Kokulan, thanks for your response. It's going to be automated. Any suggestion on how can this be done?

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    This could be done few different ways, following is the option i would go for

    In short : You will have to create a Custom Workflow Activity (CWA) that gets the document location from document location entity using the current record GUID, this then queries SharePoint to get list of documents in that location. You will have to define which document should be attached. Is it the first document or particular type or file name or a document with particular meta data.  This could attache single or multiple attachment.

    The CWA would also take the email that it needs to attach to  (it means you can use Create Record step the create the email  before you call the CWA) and do the attachment and send the email.

    Links to help on this

    docs.microsoft.com/.../sample-retrieve-absolute-url-and-site-collection-url-of-a-location-record

    docs.microsoft.com/.../actions-on-sharepoint-location-records

    This link might also help to understand how you could communicate to SharePoint from CRM CWA or Plugin

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

    A second approach is to consider using flow

    powerusers.microsoft.com/.../87682

  • Inogic Profile Picture
    709 on at

    Hi Marjorie,

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

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

    Hope this helps.

    Thanks!

  • Community Member Profile Picture
    on at

    Hi Kokulan, You previously mentioned that it is possible to manually browse to sharepoint folder, select the file and attach to the email.

    What about the other way? From the email activity and form in Dynamics, can you attach a file and the file browser will view the default sharepoint site/folder?

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

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