getAppObjectList method

Note: STABLE.
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

Introduced 1.0
Deprecated

1.1

Use instead: getList method

Parameters

Name Type Description
type String

Optional.

Type of object.

One of:

  • sheet
  • masterobject

Default is sheet.

callback Function

Optional.

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);
});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?