Skip to main content

getAppLayout method

ON THIS PAGE

getAppLayout method

Note: STABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.getAppLayout(callback)

Gets a layout for this Qlik Sense app and registers a callback to receive the data. Returns the dynamic properties (if any) in addition to the fixed properties.

Version history

Introduced 1.1

Parameters

callback

Type: Function

Optional.

Callback method. Registers a callback that is executed every time data is returned.

Returns

A promise of a Qlik associative engine reply.

Tip: For more information regarding a promise, see https://code.angularjs.org/1.7.0/docs/api/ng/service/$q#the-promise-api.

Example

app.getAppLayout(function(layout){
	alert(layout.qTitle);
});