Does setFilter method support the oscv file type?
Can I only use runQuery method to filter data? runQuery is running normally for me. setFilter is a more flexible way. So could I get a definite answer. Look forward to your reply.
flexmonster.setFilter("date",
{
"members": ["date.[2019-02-25]", "date.[2019-02-26]", "date.[2019-02-28]"]
}
);
Hello Evan,
Thank you for your questions.
Please find our answers below:
setFilter()
API call is supported for the OCSV
data source. You can always refer to our docs for more information: https://www.flexmonster.com/api/setfilter/. Also, please make sure that you are defining the uniquenames of the members correctly. They could differ depending on the date type. Please find more information about available date types here: https://www.flexmonster.com/doc/managing-data-presentation-csv/. For example, the suggested definition could work for the "date string"
data type. At the same time it will not work for the "date"
data type. The easiest way to find out the correct template for your case is defining the filter with the UI tools and then pressing the "Save"
button to save the configs to JSON. You will find the correct definition of the column uniquename and member uniquenames there.runQuery()
API call is not supported. Please find more information in our docs: https://www.flexmonster.com/api/runquery/.Please let us know in case of any other question.
Regards,
Dmytro
Yes, I knew this. There are some issues about setFilter method in version 2.7.4, bt they were disappeared after i update to 2.7.7.
These are not mentioned in release note.
thanks ur replay!