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

Setting fields to null or empty string with 9.0 Toolkit

I do apologize if this has been brought up in the past.  I've searched the boards but this topic only seems to apply to the beta toolkit.  I'm using the productized toolkit, using the 9.0 API.  On an update, I'm trying to set a field that had a previous value to null or an empty string.  When I go back to the record after the update, the field still has the old value in it.

Any ideas?  I know in the beta version there was a fieldsToNull array where you could push fields to this array.

- Thanks much.
To set a field to null, you can simply assign the filed to null
before calling update.

For eg:

  sobj.myField = null;


Thanks, it worked!
I keep reading questions and answers on how to make a call or how to update or do this or that... how were you able to connect to SFDC in the first place... from a website that is
You can use the Web Service API to connect to Details here.