getAppObjectList method
app.getAppObjectList(type, callback)
Method used to get a list of sheets and visualizations and registers a callback to receive the data.
Parameters
| Name | Type | Description |
|---|---|---|
| type | String |
Type of object: one of sheet, masterobject. Optional, default sheet. |
| callback | Function | Callback method. |
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);
});