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.