I am extending some CRM callouts to add extra functionality, I have been told not to rewrite them as plugins for compatibility reasons. In a postupdate on the lead entity I want to carry out some extra actions if a certain attribute on the lead entity has changed. My callout is corectly registered and triggers after a lead is updated and runs the overidden method with the below sig
public override void PostUpdate(CalloutUserContext userContext, CalloutEntityContext entityContext, string preImageEntityXml, string postImageEntityXml)
{
}
From what i understand i can deserialise preImageEntityXml and postImageEntityXml into DynamicEntity objects so that I can work out what has changed. However preImageEntityXml and postImageEntityXml are both null and i can't work out why.