If you provide the CQL query, the CQL Search Macro macro executes the search and returns the results as links to pages. This macro is useful to show the results of complex queries on pages, labels, etc.

To use this macro, follow these steps: 

  1. Select Insert and then Other Macros
  2. When you search CQL in the search bar, CQL Search appears. Select it.
  3. Enter the CQL statement you want to search in CQL and how many results you want to see in Max Results. 

    For more information about using CQL, check out CQL Query Conditions and Use CQL

  4. Select Preview to preview the query.
  5. Select Insert to complete the macro.