Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

markginqo
New Contributor III

Search Expressions & qlik.app.field.selectValues

Hello,

I'd like to be able to make a selection in a Mashup using a search expression (bottom of page) combined with some user-entered values.  I don't quite see how to pass the search expression to the qlik.app.field.selectValues() method, has anyone succeeded with something like this?

Thanks,

Mark

2 Replies
Digvijay_Singh
Honored Contributor III

Re: Search Expressions & qlik.app.field.selectValues

Not sure but I have used expression like this, here chartFieldname and prevChartType are js variables -

app.field(chartFieldName).selectValues([{ qText: prevChartType }], false);

markginqo
New Contributor III

Re: Search Expressions & qlik.app.field.selectValues

Thanks Digvijay, my trouble is I'm trying to put something in the qText like:

Sum(Sales) > 500000 OR Only(ShipToCountry) = 'Brazil'

Community Browser