get method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.app.variable.get(qId)
Gets a variable by id.
Version history
Version state | Details |
---|---|
Introduced | 2.1 |
Parameters
qId
Type: String
Variable ID.
Returns
A promise of a variable model.
Tip noteFor more information regarding a promise, see The Promise API.
Example
var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d', config), myvar;
app.variable.get('yTgsRI').then(function(model){
myvar = model;
});