Author API Initialization
custom_points
Controls the Custom Points (Activity Scoring Override) feature in the Activity Editor. This feature allows authors to override the default validation scores for individual questions within items, enabling custom point values per activity.
When enabled, authors can assign custom point values to each question, which will be used instead of the scores defined in the item's validation settings. This is useful when the same item needs different point values across different activities.
Examples
// Enabling custom points feature with the toggle visible
var initializationOptions = {
"config": {
"activity_edit": {
"item": {
"custom_points": {
"toggle": {
"show": true,
"default_checked": true
}
}
}
}
}
};
Values
Attribute path config.activity_edit.item.custom_points
Type object
Properties
-
toggle object
Container for toggle-related settings that control the visibility and default state of the Custom Points feature on activity load.