getList method
app.getList(type, callback)
Method used to get a list of internal Qlik Sense objects and to register a callback to receive the data.
Parameters
Name | Type | Description |
---|---|---|
type | String |
Type of object:
|
callback | Function | Callback method. |
Returns
A promise of an object model
Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.
Example
app.getList("FieldList", function(reply){
var str = "";
$.each(reply.qFieldList.qItems, function(key, value) {
str += value.qName + ' ';
});
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!