setScoringType - Methods - Author API

Author API Methods

setScoringType()

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.

Examples

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

Arguments

  • scoringType string

    The Item scoring type.

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.