Use case

You have a table with page titles. You need to get a dynamic result table where rows correspond to the current page title.

Solution

  1. Switch the page to the edit mode.
  2. Insert the Table Transformer macro and paste the table or the macros outputting tables within the macro body.
  3. Select the macro and click Edit.
  4. In the Presets tab select Custom transformation and click Next.
  5. Enter the following SQL query:

    SELECT *
    FROM T1 
    WHERE T1.'Page Title' = @PAGETITLE
  6. Save the macro and the page.


The @pageTitle variable can be combined with other variables within the same query and successfully used in more complex SQL queries.

To learn more about the @currentUser variable, please visit the corresponding page.