Knowledge article search filters

Completed

As agents search for knowledge content, you'll want to make sure that you can provide them with the simplest experience possible. Enabling filtering can dramatically enhance this process. For example, agents might want to filter the articles to only display articles in a specific language or to only view content that has been updated within the last several days.

In Dynamics 365 Customer Service, you can turn on the search filtering feature to provide agents with different filtering options. After you've enabled this feature, you can define the filter configurations that you want to use.

In the Microsoft Dynamics 365 Customer Service admin center, you can enable search filters from the Filters page, which you can access by selecting Knowledge under Agent Experiences. The two options that you can turn on are:

  • Enable search filters - Turns on the ability to use search filters in the current environment.

  • Allow agent to personalize - Turns on the ability for agents to personalize filters in the different customer service user interfaces.

You can use fields that are present on the knowledge article table as a search filter out-of-the-box. For example, you could add the Modified On or the Created On fields. Each field will have different options that will be presented as filter options, such as Last 7 Days, Last 30 Days, Last 6 Months or Last Year, that the agent will be able to select from when filtering articles.

Additionally, you can define filters on fields that have the following data types:

  • Options set

  • Multiselect options set

  • Lookup

  • Two choices

  • Date and time

Screenshot of the filter fields that are available.

Each filter that you define will have options that you can modify. These options will impact which filters are available to interact with and which option is selected by default. To access the options for each filter, select the More options button.

Depending on which filter control that you've selected, any of the following options might display:

  • Preselects - Defines which one of the available options for that filter will be selected by default in the agent experience. You can only have one predefined option for control.

  • Visibility - Defines which of the available filter options will be displayed in the agent experience.

  • Deactivate - Deactivates the filter in the agent experience.

  • Delete - Removes the filter from the list of available filters.

The following image shows an example of the visibility option where you can control which of the data filters will be used for an Expiration Date filter that was added to the item.

Screenshot of the Expiration Date fields being preselected.

To make a filter value available by default, select the ellipsis (...) next to the filter item and then select Preselects.

Screenshot of the toggle filter to show as preselected.

Turn on the Set as preselected filter toggle so that Preselected  appears next to the filter name, and then select Done. Values that are set as preselected will automatically participate in the filtering without requiring the agent to manually select them. You can only preselect values that have been made visible.

Screenshot of the Set as preselected filter toggle shown as turned on.

Enable custom fields as search filters

Frequently, organizations will add custom fields to their knowledge articles. These fields might be used to provide more classification options or for numerous other reasons. For example, you might add a field called Article Type to help you group together articles that are related to troubleshooting, as opposed to articles that are instructional. In scenarios where custom fields have been added to articles to support the needs of an organization, you can use those fields as custom search filters.

To make a field available as a custom search filter, you'll need to add it to the Quick Find Active Knowledge Articles view. This view helps make searching for records easier. You can modify a Quick Find view from the Microsoft Power Apps maker portal. In the Power Apps maker portal, go to Data (might be Dataverse) > Tables > Knowledge Article.

Screenshot of Knowledge Article listed in the Tables view of Power Apps maker portal.

Locate and open the Quick Find Active Knowledge Articles view and then add the field that you want to include in the view. The following image shows that a custom field called Article Type has been added to the view.

Screenshot of the Article Type custom field that's been added to the view.

After you've added the custom field to the quick find view, it will become available from the list of filter types when you set up filters.

Screenshot of the list of filter types that are available.