CRM 2013: Cannot specify child attribute retrieve – MergeRequest C#


If you are working on code to merge two entity records and come across “Cannot specify child attribute retrieve” error; and you have referred SDK/MSDN documentation. You probably have kept UpdateContent property optional and havent set it. UpdateContent is a required property though the documentation says it is not.

This property is optional in case of merging incidents only.

You just have to set Entity object to UpdateContent property which has attributes to be updated to the merged record.

Entity contact = new Entity("contact");
contact["firstname"] = "Crm";
contact["lastname"] = "Xpress";
// merging contact records
MergeRequest merge = new MergeRequest
    // SubordinateId is the GUID of the contact merging.
    SubordinateId = contactId,
    Target = target,
    PerformParentingChecks = true,
    UpdateContent = contact // Entity Object to set the content you want updated on the merged contact

Happy Merging!


CRM 2011: Object address not found on party or party is marked as non-emailable

While sending an Email message from either workflow/plugin or through sdk, if you get this message – “Object address not found on party or party is marked as non-emailable”; check below things:

  1. Check if the record is contact and the records is allowed for Emails or Bulk Email. These are Options available on Contact records and you can set them individually. Make sure both has Allow selected on contact.
  2. Check if your contact records is having a valid email address and not having blank value.

Happy Troubleshooting!!