getAppObjectList method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.app.getAppObjectList(type, callback)
Gets a list of sheets and visualizations and registers a callback to receive the data.
Version history
Version state | Details |
---|---|
Introduced | 1.0 |
Deprecated |
1.1 Use instead: getList method |
Parameters
type
Type: String
Optional.
Type of object.
One of:
- sheet
- masterobject
Default is sheet.
callback
Type: Function
Optional.
Callback method. Registers a callback that is executed every time data is returned.
Example
app.getAppObjectList( 'sheet', function(reply){
var str = "";
$.each(reply.qAppObjectList.qItems, function(key, value) {
str += value.qData.title + ' ';
$.each(value.qData.cells, function(k,v){
str += v.name + ' ';
});
});
alert(str);
});