/
Placeholder Variables for CQL

Placeholder Variables for CQL

Canned Search allows the use of placeholder variables in CQL which will be replaced dynamically depending on the context. This allows flexibility when the Search macros are placed in page templates or copied to another location.

Placeholder

Description

Placeholder

Description

$$space.key$$

The key of the current space

$$space.title$$

The title of the current space

$$id$$

The id of the current page

$$parentid$$

The key of the parent page

$$title$$

The title of the current page

$$created$$

The created date of the current page

$$lastmodified$$

The last modified date of the current page

For more examples on how they can be used, please refer to Useful CQLs

Related content

Convenient Search with placeholders
Convenient Search with placeholders
More like this
User Guide for CQL Search Macro
User Guide for CQL Search Macro
More like this
CQL Search Macro
More like this
User Guide for CQL Search Table Macro
User Guide for CQL Search Table Macro
More like this
Canned Search for Confluence Data Center Documentation
Canned Search for Confluence Data Center Documentation
More like this
CQL Search Table Macro
CQL Search Table Macro
More like this