Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
This object is used in the response to the /fields request to provide information about filters supported by the server.
{
members: boolean,
query: boolean | string[],
valueQuery: boolean | string[]
}
Property/Type | Description |
---|---|
members Boolean | optional Indicates whether the selection filter is enabled (true ) or disabled (false ) in Flexmonster.If the selection filter is disabled, a /members request will not be sent to the server when opening the filter view. This may improve the component's performance when using the filters. |
query Boolean | String[] | optional Configures the conditional filter. To enable all supported conditions, set this property to true . To enable some of the supported conditions, specify them as an array.See the list of supported conditions for "string", "number", and "date" field types. The following conditions are supported by all field types: "equal" , "not_equal" , "between" , "not_between" . Use this list when configuring filters for all field types in the filters.any property.If the query is false , the conditional filter is disabled in Flexmonster. |
valueQuery Boolean | String[] | optional Configures the value filter. To enable all supported conditions, set this property to true . To enable some of the supported conditions, specify them as an array. See the list of supported conditions.If the valueQuery is false , the value filter is disabled in Flexmonster. |
1) Here is an example of a response to the /fields request where the FilterConfigObject is used to define filters for all field types:
{ "fields": [ // List of fields ], "aggregations": ["sum", "average"], "filters": { "any": { "members": true, "query": ["equal", "not_equal"], "valueQuery": ["top","bottom"] } } }
2) Here is an example of a response to the /fields request where the FilterConfigObject is used to define filters for a specific field:
{ "fields": [ { "uniqueName": "Country", "type": "string", "filters": { "members": true, "query": ["begin", "not_begin", "end", "not_end"], "valueQuery": ["equal", "not_equal"] } } // Other fields ], }