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)

Displaying email attachment info

(0) ShareShare
ReportReport
Posted on by 400

I have a subgrid on the Account form that displays associated Email activity records, and would like include some kind of indicator that shows when a message has an attachment. An icon would be great, but a simple yes/no would suffice. I've tried creating a custom view but the Email Attachment fields seem to be unavailable. Has anyone had any luck with this? Alternatively, is it possible to update the Activity feed in the Social Pane (which DOES display a special icon for messages with attachments) so that it includes additional data fields?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Nizar JLASSI Profile Picture
    2 on at

    Hi Matt,

    There is no field on Email entity to contain attachment because, attachment is a separate entity.

    So, to resolve this issue, you should create a new Two Options field on Email entity called HasAttachment.

    After that, you create a plugin on activitymimeattachment entity with Post Operation of the Create message. I'm sorry, you cannot use workflow because this entity don't appear in the entities list able to use workflows.

    You should get the activityId and retrieve the email record related to this Id.

    After that, you should set HasAttachment field to true.

    Test your plugin and register it on your CRM server using Plugin Registration Tool.

    In your views you can now add HasAttachment field.

    Nizar JLASSI
    Dymamics CRM Trainer and Senior Consultant
    Email : n.jlassi@gmail.com

    4TOCOPWZQ6TL.jpg  4TOCOSXBT5KL.jpg  4TOOJYT41KG6.jpg  

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