Welcome to the Alfresco Builder Network

Our technical resource site is still being improved. We'd love to hear your feedback. Tell us what you think

Registers widgets for use with the Search Filter component.

Details

This component keeps track of all widgets registered for use with the Search Filter component. All the built-in widgets are registered by default but you should register any new custom widgets you create explicitly:

import { MyComponent } from './my-component.ts'

@Component({...})
class MyAppOrComponent {

    constructor(searchFilterService: SearchFilterService) {
        searchFilterService.widgets['my-widget'] = MyComponent;
    }

}

See the Search Widget interface page for details about creating your own custom search widgets.

See also

Interested in trying Alfresco?

Try Now