Initialization Option Items API

submit_failed_options

Set the options for the learner to manually retrieve and send their session responses in the event of a network failure or server issues preventing assessment submissions.

You would want to specify this option so that you can make this dialog available to the learners and be able to manually review assessment submissions, for example.

See the Configuring Behavior in Case of Network Failure & Failed Submission article for in-depth coverage.

Examples

// Allow learners to download responses and enable email to submit functionality
var initializationOptions = {
    "config": {
        "configuration": {
            "submit_failed_options": {
                "download": true,
                "mailto": {
                    "to": "youremail@example.com",
                    "cc": "youremail@example.com",
                    "bcc": "youremail@example.com, anotheremail@example.com",
                    "subject": "Manual session responses"
                }
            }
        }
    }
};

Values

Request object key config.configuration.submit_failed_options

Type object

This object has the following properties which can be configured.

  • download boolean

    Show or hide the link to download the session responses to file, in the submit_failed_options dialog.

  • mailto boolean object

    Specifies whether the learner is able to send their assessment responses in an email using a local email client or app.

Caveats

The "View encoded string" is displayed by default and there is no available option to hide it when instantiating the Items API.

Related articles

Was this article helpful?