Initialization Option Author API

scoring_type

Configuration options for the scoring type drop-down menu.

Values

Request object key config.item_edit.item.details.scoring_type

Type object

This object has the following properties which can be configured.

  • edit boolean

    Controls whether the scoring type option can be changed.

    You would want to use this to prevent authors from editing the Item's scoring type.

    Default: true

    var initializationOptions = {
        "config": {
            "item_edit": {
                "item": {
                    "details": {
                        "scoring_type": {
                            "edit": false
                        }
                    }
                }
            }
        }
    };
  • show boolean

    Controls whether the scoring type drop-down menu is shown.

    You would want to use this to hide the scoring type from authors.

    Default: true

    var initializationOptions = {
        "config": {
            "item_edit": {
                "item": {
                    "details": {
                        "scoring_type": {
                            "show": false
                        }
                    }
                }
            }
        }
    };
Was this article helpful?