Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction


Similar to CQL Search Macro and CQL Search Table Macro, this macro allows you to execute contextual searches with predefined CQL.

The Counter Macro display the number of search results in large font with the optional footer text. The background colour and the gadget size can be changed.

You can also choose to display the number as a link to the search page.

Display the number of search results

Display the number of search results as a link

Configuration


Field Name

Required

Default Value

Explanation

Additional Information

CQL

(tick)

Enter a CQL statement with $$query$$ as the search term.

Display as link

Unchecked

If checked, the macro will display the number of search results as a link.

Search Type

Exact Match

Select the type of search for $$query$$:

  • Exact Match

  • Start With

  • Contains

Default Query Term



Enter a default query term to replace the $$query$$ in CQL.
Search results will be preloaded if it is provided.

*Note: $self returns current page title

Board Colour

Blue

Select the background colour to be displayed:

  • Blue

  • Emerald

  • Green

  • Navy

  • Orange

  • Peach

  • Red

  • Yellow

*Note: Only when the Display as link is unchecked

Footer Text

Enter a footer text to be displayed below the value.

Please limit the text to below 16 characters

*Note: Only when the Display as link is unchecked

Gadget Height

Medium

Select the height of the gadget:

  • Small

  • Medium

  • Large

*Note: Only when the Display as link is unchecked

Font Weight

normal

Select the font weight for the value to be displayed:

  • normal

  • bold

  • bolder

*Note: Only when the Display as link is unchecked

Custom "No Results Found" message



Enter a customised message when no results are found.

  • No labels