Hi All,
I am getting the error 'Entity Id must be specified for Update" while updating the account record from Post-plug of the account, the below is the code.
if (context.PostEntityImages["account"] is Entity)
{
Entity PostEntity = (Entity)context.PostEntityImages["account"];
Guid AccountRecordID = (Guid)PostEntity["accountid"];
Entity account = new Entity("account"); account.Attributes.Add("accountid", AccountRecordID);
account.Attributes.Add("new_sign", AccountRecordID.ToString());
service.Update(account);
}
I am not getting what went wrong. please advice.
Thanks in advance,
srikanth