In SDP(Service Data Provider) search and date filters are not working simultaneously
Summary
In SDP I have enabled Search on one field and the date filter on another field, When I apply date filter, the search wont work after that & even after resetting the date fieldsVersion
19.4.3.2Code Snippet
=====> Search Related Code <===
"op": "$or",
"criteria": [
{
"op": "$co",
"attribute": "BackendCustomerName_c",
"value": "{{ $variables.searchVar }}"
},
{
"op": "$co",
"attribute": "RecordName",
"value": "{{ $variables.searchVar }}"
}
]
}
==> For Date filter wrote a button action chain on custom fields <==
{
"filterCriterion": {
"criteria": [
"{{ $page.variables.orderfromdate }}",
"{{ $page.variables.ordertodate }}"
],
"op": "$and"
}
}
Tagged:
0