When saving a row in a custom Gift Entry grid template, you may see an error similar to:
"Value for [CheckboxFieldName] is not a boolean, Value: 0, Runtime class: java.lang.String"
This happens when a custom checkbox column on the grid template has no explicit default value (or a default value not stored as a proper boolean). In that state, the grid initializes the field using the string "0" rather than the boolean false, and the backend rejects that string value when the row is saved without the checkbox being manually toggled.
A telltale sign: manually checking then unchecking the affected checkbox before saving works around the error, because it forces the grid to store a real boolean value.
This does not affect records already created through data import: standard checkbox fields accept "1"/"0" or "true"/"false" values during import (Data Loader, Bulk API, etc.), and Salesforce converts these to a real boolean at insert time. That is a separate code path from the grid template default-value issue described here, so no transformation of import data is needed.
005390909

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.