Would you like to make an article in your widget only available within certain
/paths/ on your site?
By setting Context paths you can indicate the path in which a topic should appear. This is a way of associating a topic such as an Article or Walkthrough to a certain page on your site.
When would you use Context Paths?
By default, content appears in the Widget and is listed in the order it is created, though you can manually rearrange the topic list. With Context paths you can list content dynamically based on where a user is navigating in your application.
For example, you may have an important article which you want to prioritize in your widget when a user is at the path
http://example.com/sites/create. In that case, you would add
sites/create to the Context paths setting.
Now, when the user visits that path, the article is highlighted and placed on top of the list.
How to set the Context Paths
In the authoring tool, open a topic to edit. Click Manage under the topic title.
This opens the Context Paths field.
- If you want to enter multiple paths, separate them by new line (path per line).
- Do not include the domain name.
- You can use wildcards. e.g.,.
sites/*will apply to all paths that start with
sites. It will match
- You can show only relevant topics in the widget. To do this, go to Site > Settings > Player Settings and check Filter by Context.
Important Note: URLs are case sensitive on this field
At the moment, it's not possible to exclude specific Topics from individual pages.