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

Implements a text input widget for the Search Filter component.

Text Widget

Basic usage

    "search": {
        "categories": [
                "id": "queryName",
                "name": "Name",
                "enabled": true,
                "expanded": true,
                "component": {
                    "selector": "text",
                    "settings": {
                        "pattern": "cm:name:'(.*?)'",
                        "field": "cm:name",
                        "placeholder": "Enter the name"


fieldstringField to apply the query fragment to. Required value
patternstringRegular expression pattern to restrict the format of the input text
placeholderstringText displayed in the widget when the input string is empty


This component lets the user add a text value to search for in the specified field. See the Search filter component for full details of how to use widgets in a search query.

See also

Interested in trying Alfresco?

Try Now