config.activity_edit.item.custom_points - Initialization - Author API

Author API Initialization

custom_points

Controls the Custom Points (Override Activity Points) feature in the Activity Editor. This feature allows authors to override the default validation points for individual questions within items, enabling custom point values in the activity.

When enabled, authors can assign custom point values to each question, which will be used instead of the points 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 initialization.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.