
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)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.