superfell / Beatbox

Beatbox is an easy to use Python Library for accessing the Salesforce.com API

Home Page:http://www.pocketsoap.com/beatbox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to clear custom field value

jmalonzo opened this issue · comments

I'm trying to update (using the update method) a custom field value to set it to Null/Empty on a Contact object but this doesn't seem to work. I've tried setting the value to None, '' (empty string), 'null' and both failed to clear or reset the value for the field (by looking in the Contact profile in the Salesforce UI).

Is there a way to set a custom field value to Null? Is this even supported?

Thanks

you would set a field called fieldsToNull on your sobject dictionary with an array of field names to set to null. If you can't get it working let me know and i'll put together an example.