Announcements
Hi,
We are moving email body content from our Dynamics 365 instance to Azure blob storage.
I wrote a plugin that fires on Retrieve event of email entity, overrides the "description" and "safedescription" attribute. This part works well and I can see my custom content (this will be replaced by Azure blob later) when a user opens an email. Screenshot:
But the same event does not fire when this email is expanded from Activities section and actual email body shows up:
I am unable to figure out the step to attach my plugin in this case. Any guidance?
Thanks,
Jags
This didin't work. No debug profile got created :(
I looked into AttachmentExtractor by mscrmaddons (they have a video in youtube) and they seems to upload email content to Azure blob and then strip html tags. They show this simple email text preview in Activities.
So I am guessing even they were unable retrieve the original email content in this case.
The approach we are going to take now is the same as ms-crm-addon. We will upload the email content to blob, strip html tags and save this stripped content in CRM. When user will open an email, our plugin will fetch original email content (with html tags etc.) from blob and pass it along via plugin to CRM.
Thanks for your reply Mehdi!
Hi,
You will need to use retrieveMultiple message and ActivityPointer entity.
Good Luck !
Hi Mehdi,
There are 3 entities that start with activity: activitypointer, activityparty and activitymonitor.
I tried all 3 but it didn't work.
Then I used retrievemultiple with email and this step created a debug log profile. But there are only 3 attributes being returned for an email entity in this step and none of them is description.
I will create step RetrieveMultiple for all entities and will see what comes up.
Thanks
Hi, Any news ?
Hi,
I believe you need a plugin that will run on the retrieveMultiple message of the activity entity. The approach to implement will be different from the one you have already implemented
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator