Interacting with 6WTags

You can link some data query fields to 6WTags, to allow the members who can see the data perspective, to filter it out through tags.

The overall workflow is the following:

Step Description
1 Define a 6W vocabulary resource to create a mapping between data query fields and Tags.
2 Create a filter variable bound to your data query.
3 Add the filter variable in your visualizations.


Before you begin: You have created a data perspective and defined a Data Query.
See Also
Main Workflow
Configuring Visualizations
Managing Screens
  1. From the left panel, select 6W Vocabulary.
  2. Click Add Vocabulary.
    A new row displays in the table to let you define the 6W vocabulary resource.
  3. Define the 6W vocabulary resource.
    1. For Data, select a Data Query.
    2. For ResultSet, select a Data Query ResultSet.
    3. For Field, select the field you want to map to the 6W Tag.
    4. For 6W, select the 6WTags category to associate with the vocabulary resource (Who, What, Where, etc.)
    5. For Name, enter the tag label.

      Recommendation: Prefix your label with the ds6w: namespace, so that 6WTags can understand it and display it with other widget tags.

    6. For Type, select the type of values displayed by the vocabulary resource, that is Integer, String, or Date. In 6WTags, the display of values varies depending on the selected type. The default type is String.
  4. Optional: Add other vocabulary resources.



  5. Create a filter variable and bind it to the data query.
    1. From the left panel, select Variable.
    2. Add a variable, and for Type, select Filter.
    3. Go to the Binding tab.
    4. From the top list, select a data query previously configured.
    5. Under Refinement, select the filter variable that you want to apply to refine data.

    For more information, see Bind a Variable.

  6. Use the filter variable in your screen visualizations. For example, use the variable for the on-click effect of a chart.
    1. From the left panel, under Presentation, select a screen.
    2. Select a visualization, and from the Properties panel, click Actions.
    3. Click to add an effect.
    4. For Behavior, select filter.
    5. For Target studio variable, select the filter variable you created in step 2.
    When the user clicks a 6W Tag, the visualization filters out data accordingly.