Initialization Option Author API

current_user

Only show Activities created by the current user (author). This is based on their user.id.

You would want to use this to restrict the Activities to the current author only.

Examples

var initializationOptions = {
    "config": {
        "activity_list": {
            "filter": {
                "restricted": {
                    "current_user": true
                }
            }
        }
    }
};

Values

Request object key config.activity_list.filter.restricted.current_user

Default: false

Type boolean

Caveats

Note This initialization option will override the restricted.created_by option.

Was this article helpful?