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 |
---|---|
$$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