Hi Rajeev,
Thanks for this great post. I would like to add a ressource to a service activity using soap endpoint, but I don’t seem to get it right …
var CRMObject = new Object();
var partlistData = new Array();
partlistData[0] = new Object();
partlistData[0].id = MyUser[0].id;
partlistData[0].name = MyUser[0].name;
partlistData[0].entityType = “SystemUser”;
CRMObject.Resources = partlistData;
What’s wrong with my configuration ?? thanks in advance

I have a requirement when user create email activity from custom entity (contract) then in “To” field of email activity form, user can see the all the contacts associated to contract account (means account is parent of contract record) . So here i have to create one filtered custom view on Contact associated to Account. Can you help me , how to achieve this?

The following alteration worked for setting email’s to attribute in CRM 2015, the only change is object’s type is to be set and not entitytype.
var partlistData = new Array();
partlistData[0] = new Object();
partlistData[0].id = Xrm.Page.context.getUserId();
partlistData[0].name = Xrm.Page.context.getUserName();
partlistData[0].type = 8;
Xrm.Page.getAttribute(“to”).setValue(partlistData);

Hi Rajeev,
Thanks for posting this useful blog.
I’m trying to insert multiple participants into the email “to” field when users click on “Reply All” email. However I need to remove certain email address from the To line. So I put the original To into an array and then loop and get all the email addresses except the one that needs to be removed.

However the problem here is I only see the first participant is listed on the Reply All email form. Could you please advise on how to populate multiple email participants? Appreciate your help in this, thanks in advance.

When I enter values in “Required” field in Appointment and then while converting the appointment to Case the pop-up auto populates the “Customer” value with the “Required” value in appointment. That is working fine.
But when I do the same for a custom activity, then the “Customer” field is not getting populated with the “Required” filed value on custom activity.

Is that the expected behavior for a custom activity or we need to do anything else ?