Base filters

This is the setting for creating new base filters with custom predefined filter options

Base filters

Contains an array of objects where each object is a base filter.

Example:

[
    {
        "id": 1,
        "text": "The display name"
        "filters": {
            "services": [
                {
                    "text": "Example service filter",
                    "values": [
                        "a service to filter on",
                        "another service to filter on"
                    ]
                }
            ],
            "freeTexts": [
                {
                    "text": "Example free text filter",
                    "values": [
                        "the free text`s to filter on",
                        "another"
                    ]
                }
            ]
        }
    },
    {
        ...
    }
]

Example from a customer setup:

        {
                "id": 1,
                "filters": {
                        "services": [
                                {
                                        "text": "All",
                                        "values": []
                                }
                        ],
                        "freeTexts": []
                },
                "text": "All"
        },
        {
                "id": 2,
                "filters": {
                        "services": [
                                {
                                        "text": "AAP",
                                        "values": [
                                                "AAP"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "AAP"
        },
        {
                "id": 3,
                "filters": {
                        "services": [
                                {
                                        "text": "AP",
                                        "values": [
                                                "AP"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "AP"
        },
        {
                "id": 4,
                "filters": {
                        "services": [
                                {
                                        "text": "WAPO",
                                        "values": [
                                                "WP"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "WP"
        },
        {
                "id": 5,
                "filters": {
                        "services": [
                                {
                                        "text": "BLOOMBERG",
                                        "values": [
                                                "BLOOMBERG"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "BL"
        },
        {
                "id": 6,
                "filters": {
                        "services": [
                                {
                                        "text": "COMPLEX",
                                        "values": [
                                                "COMPLEX"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "COMP"
        },
        {
                "id": 7,
                "filters": {
                        "services": [
                                {
                                        "text": "RNZ",
                                        "values": [
                                                "RNZ"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "RNZ"
        },
        {
                "id": 8,
                "filters": {
                        "services": [
                                {
                                        "text": "BRAVO",
                                        "values": [
                                                "BRAVO"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "BRAVO"
        },
        {
                "id": 9,
                "filters": {
                        "services": [
                                {
                                        "text": "CNBC",
                                        "values": [
                                                "CNBC"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "CNBC"
        },
        {
                "id": 10,
                "filters": {
                        "services": [
                                {
                                        "text": "TJN",
                                        "values": [
                                                "TJN"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "TJN"
        },
        {
                "id": 11,
                "filters": {
                        "services": [
                                {
                                        "text": "TELEGRAPH",
                                        "values": [
                                                "The-Telegraph"
                                        ]
                                }
                        ],
                        "freeTexts": []
                },
                "text": "TELE"
        }
]

And how this configuration appears in Dashboard:

Last updated