Information noteSTABLE.
                    
This API is reliable and breaking changes are unlikely.
                This API is reliable and breaking changes are unlikely.
qlik.app.selectAssociations(qMatchIx, qTerms, qOptions)
Makes a selection based on searchResults method results.
Version history
| Version state | Details | 
|---|---|
| Introduced | 1.1 | 
| Updated | 2.0 | 
Parameters
qMatchIx
Type: Number
Optional.
Index to search result.
qTerms
Type: Array
Optional.
Values to select.
qOptions
Type: Object
Optional.
Parameter sent to the Qlik associative engine containing information about the search fields and the search context.
Parameters
| Name | Type | Description | 
|---|---|---|
| qSearchFields | Array or String | List of the search fields. If empty, the search is performed in all fields of the app. | 
| qContext | String | Search context. Can be one of: 
 Default value is LockedFieldsOnly. | 
qSoftLock
Type: Object
Optional.
Warning noteThis parameter was deprecated in version 2.0 and is ignored in later versions. Use the qOtions.qContext parameter instead.
                Returns
A promise of a Qlik associative engine reply.
Tip noteFor more information regarding a promise, see The Promise API.
                Example
app.selectAssociations( 0, ["May","Mar"] );