function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bvoybvoy 

Returning a Picklist field to null via API

I'm trying to return a picklist field to a truly empty/null state, that is, --None-- should be the selection in the Salesforce UI.

 

Can't seem to find a way. Setting the picklist field on the update object to an empty string, null, or boolean false leaves it unchanged after the update. Passing actual strings such as "true" or "null" just treats it as a normal string, putting it in as an inactive picklist value.

 

Is there a way to do this with the API?