getProgress method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.global.getProgress(qRequestId, callback)

Gets information about progress of doReload and doSave calls.

Note: This method was introduced as GetProgress in Qlik Sense 1.1 and changed to getProgress in Qlik Sense 2.1.

Version history

Introduced 1.1

Parameters

qRequestId

Type: Number

Request id from doReload call or 0.

Complete information is returned if the identifier of the request is specified.

If qRequestId = 0, less information is returned.

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

var global = qlik.getGlobal(config);
	global.getProgress(0);