Skip to main content Skip to complementary content

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.

Since:
  • 1.0

Parameters

Name Type Description
type String

Type of object:

  • FieldList
  • MeasureList
  • DimensionList
  • BookmarkList
  • SelectionObject
  • SnapshotList

    (Introduced in Qlik Sense version 1.1)

  • MediaList

    (Introduced in Qlik Sense version 1.1)

  • Sheet

    (Introduced in Qlik Sense version 1.1)

  • MasterObject

    (Introduced in Qlik Sense version 1.1)

callback Function

Optional.

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!