Wyn Enterprise User Guide

Wyn Enterprise: User-Context Based Parameters in a Dataset

User Context attributes are used in a shared dataset for dynamic filtering of the displayed data, based on the user's id information or certain user's attribute values. The UserContext values that you can use in Wyn Enterprise not only get the currently logged-in user id but also information as the user's role, email address, etc. When a dataset has a user-context based parameter, a logged-in user can only view data with the same user-context attribute as his/her own that is defined in the user account.

You can set a parameter with a user context in a dataset, using the built-in user context attributes or custom property values.

  1. On the Resource Portal, go to Dataset, select a dataset and click Edit.

  2. On the Parameters tab, click Add Parameter.

  3. In the Parameter Type field, select User Context.

  4. In the Context Field field, select a value from the list of available values.
    Editing Fields in the Parameters Tab

  5. On the Filters tab, go to Dataset and click Add Filter.

  6. In the Value field, select the Parameter that you have just added. Filtering data based on the Parameter values

Note: If it is a dashboard dataset, you can only add a filter by clicking the Add Rule in the Dataset section of the Filters tab.

  1. Click Save to save the dataset changes.