Initialization Option Author API

client_side_scoring

Configuration options for the "allow player side scoring" functionality.

Values

Request object key config.activity_edit.player.scoring.client_side_scoring

Type object

This object has the following properties which can be configured.

  • show boolean

    Controls whether the "allow player side scoring" option is shown.

    You would want to use this to hide the option in the assessment player settings.

    Default: true

    var initializationOptions = {
        "config": {
            "activity_edit": {
                "player": {
                    "scoring": {
                        "client_side_scoring": {
                            "show": false
                        }
                    }
                }
            }
        }
    };
  • edit boolean

    Controls whether the "allow player side scoring" option can be changed.

    You would want to use this so that you can prevent authors from changing the option in the assessment player settings. The option will be shown but cannot be changed.

    Default: true

    var initializationOptions = {
        "config": {
            "activity_edit": {
                "player": {
                    "scoring": {
                        "client_side_scoring": {
                            "edit": false
                        }
                    }
                }
            }
        }
    };
Was this article helpful?