Author API Initialization
default_checked
Controls whether custom points mode is enabled by default when creating new Activities or loading Activities for the first time.
When set to true:
- When creating a new Activity, custom points mode is automatically enabled. The toggle switch is selected, and the Custom points column is populated with the Items' original point values, which can be edited.
- When opening an Activity for the first time in a session, custom points mode is enabled. The toggle switch is selected, and the Custom points column is populated with the Items' custom point values, if available; otherwise, it is populated with the original point values. These values can be edited.
When set to false or not set:
- When creating a new Activity, custom points mode is disabled. The toggle switch is unchecked, and the Custom points column is populated with the Items' original point values and is read-only.
- When opening an Activity for the first time in a session, custom points mode is disabled. The toggle switch is unchecked, and the Custom points column is populated with the Items' original point values and is read-only.
This setting is ignored for cached loads or when re-opening an Activity within the same session. In these cases, custom points mode reflects the saved state of the Activity.
Examples
// Showing custom points toggle switch but unchecked (OFF)
var initializationOptions = {
"config": {
"activity_edit": {
"item": {
"custom_points": {
"toggle": {
"show": true,
"default_checked": false
}
}
}
}
}
};
Values
Attribute path config.activity_edit.item.custom_points.toggle.default_checked
Default false
Type boolean
Versioning
Version added: v2026.1.LTS