Setting Filter Group Visibility
Defining the types of spaces that can access a filter group and its contents.
Your site's filter groups and their filters are visible to all spaces in your site by default. When a filter group is visible to a space:
Users will be able to see and select filters/predefined labels from that filter group when labeling pages or blog posts from the Confluence page editor;
- Users will be able to select filters from this group on the Targeted Search advanced search page (unless explicitly overridden by the "Hide Filter Group(s)" parameter value from either the Targeted Search Field or Targeted Search Link macro); and
- Any Interactive Search, Targeted Search Field, or Targeted Search Link macro in that space will be able to reference this filter group (e.g., input for "Show Filter Group(s)" and "Hide Filter Group(s)" parameters) in its configuration.
If you do not want a particular filter group to be visible in these ways to all spaces in your site, you can configure the filter group so that it is visible only to spaces that have certain space labels.
Determine which spaces should "see" this filter group and its contents
In the context of labeling pages with filters/predefined labels, preconfiguring searches, and filtering search results, which spaces would benefit from having access to this filter group? Conversely, are there any spaces in which having access to this filter group might create unnecessary "noise" for content labelers or users on the Targeted Search advanced search results page?
Decide how you want to identify the spaces that should have access to this filter group
Filter group visibility is determined by space labels. Any space that has at least one of the labels you specify in a filter group's visibility settings will have access to that filter group.
You may need to add new labels to spaces if the way they are currently labeled doesn't work with your desired filter group visibility settings.
Add space labels to the filter group's visibility settings
Navigate to the Targeted Search Filters page, click the gear icon for the filter group, and select "Set Visibility". Enter the space label (aka space category) of the set of spaces in which you want this filter group to appear and be used.
Or, exclude spaces from visibility
With Targeted Search version 3.3 and above, you may also specify, in the "Set Visibility" option, which spaces should be excluded. This is sometimes easier to specify than the reverse. Simply enter the space label for the set of spaces where this filter group should not appear.