Data filter usage
Hi,
I wanted to use the data filter widget but am not able to get the exact out. This is the service i wrote for filtering.
var query =
{
"filters": {
"type": "And",
"filters": [
{
"type": "Matches",
"fieldName": "ParameterVal",
"value": "*"
},
{
"type": "Matches",
"fieldName": "AlarmCategory",
"value": "*"
}
]
}
};
var params = {
ValueQuery: Query /* STRING */,
CategoryQuery: Query /* STRING */
};
// result: INFOTABLE dataShape: DataFilterTesting_DS
var result = Things["TestingThing"].DataFilterTesting(params);
DataFilterTesting is another query which has (select * from AlarmType where AlarmCategory = [[CategoryQuery]] or ParameterVal = [[ValueQuery]])
How am I suppose to proceed? Please provide some help.
Thanks,
Shalini V.

