Skip to main content Skip to complementary content

getAppObjectList method

app.getAppObjectList(type, callback)

Method used to get a list of sheets and visualizations and registers a callback to receive the data.

Since:
  • 1.0

Parameters

Name Type Description
type String

Type of object.

One of sheet or masterobject.

Optional.

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 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!