config.activity_edit.item_search.item_banks - Initialization - Author API

Author API Initialization

item_banks

An optional list of additional Item banks from where Items for Activities can be loaded. If this option is not specified, all Items are loaded from the default Item bank.

You would want to use this to specify additional Item banks to load content from.

Examples

var initializationOptions = {
    "config": {
        "activity_edit": {
            "item_search": {
                "item_banks": [
                    {
                        "organisation_id": 123,
                        "item_bank_name": "Math Content",
                    },
                    // ...
                ]
            }
        }
    }
};

Values

Attribute path config.activity_edit.item_search.item_banks

Type array

Type definitions

  • ItemBankDefinition object

    • organisation_id number

      This refers to the Item bank from which the Items are loaded.

    • item_bank_name string

      The display name of the Item bank.

    • item_pool_id string

      The ID of the Item pool from which Items are loaded.

    • filter object

      An Item filter for the Item bank. The object structure is the same as the item_search.filter initialization option.

Related articles

Was this article helpful?

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