Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Set Email's conversationIndex via Plugin

$
0
0

Hello everyone!

I have an interesting challenge here:

Imagine we are creating email messages via plugin. Sometimes we create need to add some email to conversation - like answer or some old email.

Currently we just add trackingToken and regardingActivityId from a previous email and it looks good with queries.

BUT!

While checking the CRM UI we noticed that emails are not getting in 'conversation' group:

On the left you can see messages created via plugin (they all have the same trackingToken).

On the right - via the "Reply" button. Notice the grouping.

I noticed that email messages that are created via the UI have conversationIndex hash (https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-ascon/96fa9969-d688-46c3-a7a4-cf7d99c7bab7).

Using BaseConversationIndexHash doesn't look to be enough (I found no documentation about it).

My question is:

How is it possible to group messages in conversations via plugin?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>