02-21-2012 06:55 PM
I have a Contact object, after some modification on the object properties, I want the object to be reloaded to its initial state which is the same as the values stored in the database. How could I discard the changes to the properties and reload the object?
Thanks a lot!
03-02-2012 02:51 AM
You can try this to remove your contact object from cache :
and then reload it with:
Hope this helps...
05-23-2012 01:36 PM
Try the typed version instead. Note that this assumes that the variable 'a' contains an Account:
After doing this, I typically re-direct back to whatever page I was on in order to pick up the new data.