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
rfisher000rfisher000 

Setting Custom Checkbox

We've added a checkbox to the Contact object and we are trying to set the checkbox through an existing call thru the API.  It seems no matter what value is set (true or false) the checkbox always saves as checked.  Whats the trick to getting this to work in Java?

 

Any issues in Java I'm not seeing?  (I ask this beuase I have seen posts for .NET with an extra step)

 

Best Answer chosen by Admin (Salesforce Developers) 
rfisher000rfisher000
My bad.  I found a stray line of code burried in a number of setters that always set the checkbox to TRUE.  Removing that (obviously) solved my problem.