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

Author API Initialization

custom_points

Controls whether authors can override Item validation points for individual Questions within an Activity.

You would want to use this so that you can assign different point values to the same Item across multiple Activities without modifying the original Item configuration.

When enabled, authors can set custom point values for each Question in an Activity. These values override the points defined in the Item's validation settings for that Activity only. This allows you to reuse the same Item while applying different scoring requirements in different Activity contexts.

For more information, see the Overriding Question and Item Points for an Activity article.

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.

Versioning

Version added: v2026.1.LTS

Was this article helpful?

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