+ Start a Discussion

Checkbox Salesforce API

Does anyone know how we can update a checkbox in Salesforce as 'checked'? We are using  C#.Net toupdate Salesforce data but unable to find the correct syntax for setting the checkbox value to checked


Any help is appreciated.




Checkboxes are boolean values in the API. 

Here is a link to some helpful .NET samples.




In .net setting a checkbox field is a 2-step process.  First you set the field itself to true, but you also have to set the corresponding specified flag to true.


See for example:



Message Edited by werewolf on 02-10-2009 03:52 PM

setting both properties to true worked.


Thank you for all yoru help!