Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This solution may stop working in the future because it is dependent on some functionality which is not officially part of CQL.

  1. Add a Metadata Overview macro to a page.

  2. In the filter section add a filter for the Metadata set that contains your desired field. This will restrict search results to only pages with this Metadata set.

  3. Expand the Options with “Show”.

  4. In the field “Expert filter criteria (CQL)” add

    Code Block
    siteSearch !~ "YOUR.METADATA.FIELD.KEY:[a TO z] "

(Go here if you need help to determine the key of the Metadata field. However, for space Metadata do not add the space key in front in this case ( metadatafield.fieldname instead of SPACEKEY.metadatafield.fieldname)

...

Filter by label (Content by label)
page
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sortmodified
showSpacetypefalsepage
reversetruetype
labelskb-how-to-article
cqllabel = "metadata" and type = "page" and space = "KB"labelskb-how-to-article
Page Properties
hiddentrue

Related issues

Jira Legacy
serverCommunardo JIRA
serverId40ebf4e9-af73-381d-8ee9-1907c74966d1
keySCP-5269

Jira Legacy
serverCommunardo JIRA
serverId40ebf4e9-af73-381d-8ee9-1907c74966d1
keySCP-15638