searchAssociations method
app.searchAssociations(qTerms, qPage, qOptions, callback)
Method used to search for one or more terms in the values of a Qlik Sense app.
- Since:
-
- 1.1
Parameters
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
qTerms | Array |
Terms to search for. |
||||||||||||
qPage | Object |
Properties:
|
||||||||||||
qOptions | Object |
Optional. Search options. Properties:
|
||||||||||||
callback | Function |
Optional. Callback method. |
Returns
A promise of a RPC reply.
Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.
Example
app.searchAssociations(["se"],{qOffset:0,qCount:15,qMaxNbrFieldMatches:5},{},function(reply){
var str = "";
reply.qResults.qFieldDictionaries.forEach(function(dic){
dic.qResult.forEach(function(result){
str += result.qText;
})
});
alert(str);
});
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!