Search

You can use this visualization to add a search bar in your screen, and enable full-text search on content.

  1. In Data, select a data query, and create an $ Input parameter.

    For example, MyParam.

  2. Use this input parameter in your data query.

    For example, in the FILTER operator, with an expression like b.country==$MyParam

  3. Add a Search visualization in your screen.
  4. In the Properties panel, from Select a Project variable, select or create a context variable to link to the input parameter.

    The variable must be of type string.



    Note: You can also map a context variable to an input parameter in Variables > Binding > Parameters.

Each time, you enter a query in the search field and click , Data Perspective Studio updates the input parameter value.