setScoringType - Methods - Author API

Author API Methods


Set the scoring type of the Item being edited.

You would want to use this method so that you programatically set the Item scoring type, for example.


var hasUpdatedScoringType = authorApp.setScoringType("per-question");


  • scoringType string

    The Item scoring type.

    Possible values

    • "per-question"
    • "dependent"
    • "dichotomous"

Return value

Type boolean

Returns true if successful.

Returns or false if unable to set the Item scoring type, for example, when not in the Item editor view, or the passed scoringType is not valid.

Related articles

Was this article helpful?

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