Represents a chip based container component for custom search and faceted search settings.

Search Filter Chips

Search Filter Chip Menu

Basic usage

<adf-search-filter-chips [showContextFacets]=true></adf-search-filter-chips>

Properties

NameTypeDefault valueDescription
showContextFacetsbooleantrueToggles whether to show or not the context facet filters

Details

The component creates chip based widgets dynamically from default/selected search configuration. It uses Search Query Builder service to build and execute the query.

Widget setting for chip layout

Configured widgets(categories, facetQueries, facetIntervals, facetFields) should have following setting for smooth interaction.

{
    ...
    "settings": {
        "allowUpdateOnChange": false,
        "hideDefaultAction": true,
        ...
    }
}

Migrate from expansion card layout

Here are the steps to move from expansion layout to chip layout 1. Use this component to render the new layout <adf-search-filter-chips></adf-search-filter-chips> 2. Add the following settings to old configured widgets(categories, facetQueries, facetIntervals, facetFields) i.e

{
    ...
    "settings": {
        "allowUpdateOnChange": false,
        "hideDefaultAction": true,
        ...
    }

}

here is the example configuration

See also

© 2023 Alfresco Software, Inc. All Rights Reserved.