CRM 2011 - OnPremise - Cached data shown after data.entity.save() - How to avoid ? RRS feed

  • Question

  • Hi

    On CRM 2011 – On Premise version.

    I have a custom button say “Change Salary”, the button sets some attribute values and save the changes using the following code


    If I click that button then the code is being executed and form is reloading (due to .save()) once loaded, If you press F5 (in a reasonable time gap) the form shows the old data,  if I press F5 again (after few seconds) then the modified data is appearing..

    I checked the audit log, none of the code is changing the value back to the original, I think its due to IE Cache or CRM Cache  where I don’t have much idea.

    But the same thing is NOT happening If I click the default “Save” button on the form.

    Any advice would be helpful


    Friday, August 8, 2014 8:18 AM