Is it possible to get the filtered columns as a 'human readable' summary string?

Answered
Jonathan Bishop asked on November 5, 2024

For example if I had a filter that showed countries that start with 'u' and a population> 100. I could call flexmonster api and it could provide a phrase like 'contries starting with 'u' and a population > 100'.  I could build this myself, but I'd have to make sure I cover all the filter options, which can be a lot. It would be great if it was provided by the API

4 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 6, 2024

Hello, Jonathan!

Thank you for reaching out to us.

Kindly note that Flexmonster doesn't have API to translate filters into human-readable strings, or vice versa, to parse strings written by end-users and apply filters based on the strings' content. You can check all available Flexmonster API calls by the link: https://www.flexmonster.com/api/methods/.

However, our team is curious about your use case. If you provide us with more details on the case, we'll be happy to advise on any aspects where Flexmonster might support your needs. For example, if you want to replace our native filters with custom ones, we can provide an example on the matter.

Looking forward to hearing from you.

Kind regards,
Solomiia

 

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 13, 2024

Hello, Jonathan!

Hope you are doing well.

Our team is wondering if you need our further assistance in implementing custom filter functionality that generates human-readable strings. Don't hesitate to ask if you have any further questions on the matter.

Kind regards,
Solomiia

 

Public
Jonathan Bishop November 13, 2024

I think the closes analogy is the Jira query language (https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/).

A user complained that if there are multiple columns/filters applied to a dataset, it's hard to see what all is filtered.  If we provided a plain text version of the filters. they would easily see what's filtered.

 

You can close the ticket.

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 14, 2024

Hello, Jonathan!

Thank you for your swift response.

Kindly note that you can use our getAllHierarchies() and getFilter() API calls to extract all applied filters for further customization as follows: https://jsfiddle.net/flexmonster/cn0rg6va/.

Hope it helps.

Kind regards,
Solomiia

 

Please login or Register to Submit Answer