config.item_list.toolbar.search.controls - Initialization - Author API

Author API Initialization

controls

Specifies which search options are shown for authors.

You would want to use this to customize the search interface.

Examples

// Only allow searching by Item reference
var initializationOptions = {
    "config": {
        "item_list": {
            "toolbar": {
                "search": {
                    "controls": ["reference"]
                }
            }
        }
    }
};

Values

Attribute path config.item_list.toolbar.search.controls

Default ["reference", "content"]

Type array[string]

Possible values

Related articles

Was this article helpful?

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