Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Gift Entry grid save fails with checkbox field "not a boolean" error

게시 일자: Aug 11, 2026
상세 설명

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.

솔루션
  1. Go to the Gift Entry Grid Template setup for the affected template.
  2. For each custom checkbox column, explicitly set the default value to unchecked/false rather than leaving it blank or set to "0".
  3. Re-test gift entry using the corrected template.

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.

Knowledge 기사 번호

005390909

 
로드 중
Salesforce Help | Article