Author API Initialization
enabled_player_templates
A list of all available assessment player templates as specified in the player_templates
initialization option and any saved templates.
You would want to use this to specify which templates should be shown in the Player tab of the Activity editor, and how they will be ordered.
This can be also used to hide default templates and show only custom templates, or alternatively hide the entire selection area by passing an empty array.
Examples
var initializationOptions = {
"config": {
"activity_edit": {
"enabled_player_templates": [ /* ... */ ]
}
}
};
Values
Attribute path config.activity_edit.enabled_player_templates
Default An array containing all saved templates and all templates from the player_templates
initialization option combined.
Type array