Versions Compared

Key

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

In the majority of the support articles on the Knowledge Base, there is a section called Related Articles. This section is populated by a Content by Label macro. The macro surfaces articles that have labels that you specified in the macro. At times, the default settings can return too many results or ones that are not very relevant. You can better focus the macro by refining the labels listed and by adding filters. This article covers how to focus results by adding the In Space and Parent filter. Other filters

...

, such as With Ancestor, can be useful when you want to span multiple levels of articles.

Adding the In Space Filter

By adding this filter, you limit the results to the desired space. All of the instructions here should be followed while in edit mode. 

  1. Left click on the content by label macro. Click Edit. 
  2. In the pop up window, click Add a filter. 
  3. Scroll down and select In Space. 
  4. Choose either Current space or scroll down under Suggested Spaces for IT Knowledge Base.


Tip

When you are in the Content by Label Macro, click Preview to see the results generated. Then you can make adjustments while in the macro.


Adding the With Parent Filter

All of the instructions here should be followed while in edit mode. 

...

In the example below, "NetID" is the parent article of the article that I was working on, so I selected that as the parent article for the filter. 

Image Modified

I was working on "Changing Your NetID Password." 

Image Removed


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel in ("kb","knowledge_base","knowledgebase") and space = "IKB" and parent = "77400181"