config.activity_edit.item_search.filter.restricted.created_by - Initialization - Author API

Author API Initialization

created_by

Only display Items created by specified users (authors). This will be based on their user.id.

You would want to use this so that authors can see their most relevant Items, for example.

Examples

var initializationOptions = {
    "config": {
        "activity_edit": {
            "item_search": {
                "filter": {
                    "restricted": {
                        "created_by": [
                            "my_user_id_1",
                            "my_user_id_2",
                            "my_user_id_3",
                            "my_user_id_4",
                            // ...
                        ]
                    }
                }
            }
        }
    }
};

Values

Attribute path config.activity_edit.item_search.filter.restricted.created_by

Type array[string]

A maximum of 50 user.id values are allowed.

Related articles

Was this article helpful?

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