How to clear lookup value using restkit?

Oct 4, 2013 at 1:09 PM

We are using restkit with HTML page. Need to clear lookup using restkit.
How can we do it?
Oct 6, 2013 at 8:01 PM

just perform an update and set the value of the lookup-attribute to null:
var accountid = '<%id-value%>';
CrmRestKit.Update('Account', accountid, { lookupAttr: null });
Hop this helps,

Marked as answer by thuld on 10/10/2013 at 12:26 AM
Oct 7, 2013 at 5:39 AM
It worked!