CRM 2013 Merge Record Plugin ParameterName.UpdateContent RRS feed

  • Question

  • IN CRM 2013 when we create plugin for Account Merge on Pre-Operation stage, we have all available attribute for PreImage Entity. but how do we get the Update content data??

    I mean in CRM 4.0, we use to do below syntax to get all the new data for master record. but in CRM 2013 how can we achieve this??

    DynamicEntity UpdateContentData = (DynamicEntity)context.InputParameters.Properties[ParameterName.UpdateContent];

    Wednesday, July 16, 2014 6:57 PM


  • i got it working from like below. Hope solution help some one.

          Entity UpdateContentData = (Entity)context.InputParameters["UpdateContent"];
                        if (UpdateContentData.Attributes.Contains("accountnumber"))

    • Marked as answer by Nicksoft2011 Wednesday, July 16, 2014 7:13 PM
    Wednesday, July 16, 2014 7:13 PM