dynamic_items - Initialization - Items API

Items API Initialization

dynamic_items

The properties inside this object are used to configure options relating to Dynamic Content, a form of smart content which allows many variations of the same Question.

You would want to use this option so that you can display a programatically randomized order of Questions in an assessment, for example.

Examples

var initializationOptions = {
    "dynamic_items": {
        "data_table_seed": "my_custom_randomization_seed",
        "try_again": {
            "max_attempts": 5,
            "random": true
        }
    }
    // ...
};

Values

Attribute path dynamic_items

Type object

Properties

  • data_table_seed string

    A randomizing seed that will be used to generate a sequence of data rows given to learners that use the Try Again functionality.

  • data_table_index integer

    Specifies a single row which sets a starting point in the dynamic content dataset for all Items in the assessment.

  • try_again object

    The configuration object for setting up the Try Again functionality.

Related articles

Was this article helpful?

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