Items API Initialization
outro_item
Specifies an Item that will be rendered at the end of the assessment, usually after the assessment has been submitted.
You would want to specify this option so that you can show essential information to the learner after the assessment is complete.
Examples
// Enable and specify an outro Item to use
var initializationOptions = {
"config": {
"navigation": {
"outro_item": "my_item_reference_1"
}
}
};
// Enable and specify an outro Item when using multiple Item banks
var initializationOptions = {
"config": {
"navigation": {
"outro_item": {
"reference": "my_item_reference_2",
"organisation_id": 123,
"item_pool_id": "my_item_pool_id_1",
"id": "outro_item"
}
}
}
};
Values
Attribute path config.navigation.outro_item
Default false
-
Type boolean
When set to
false
, this option is ignored and a default message will be displayed since an Item has not been specified.To specify an outro Item, use either a string or object type.
-
Type string
The Item reference to retrieve.
-
Type object
An ItemObject can be used in place of an Item reference. See ItemObject definition for more information.
Caveats
The show_outro
initialization option must be set to true
for the outro page to be displayed. The default value for show_outro
is true
.
Related articles
- The
show_outro
initialization option, which controls whether an outro screen should be displayed. - Intro / Outro Items
- The
onsubmit_redirect_url
initialization option, which redirects the learner to the specified URL when the session has been submitted.