Skip to main content

doReload method

ON THIS PAGE

doReload method

Note: STABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.doReload(qMode, qPartial, qDebug)

Reloads the data in a Qlik Sense app.

Version history

Introduced 1.1

Parameters

qMode

Type: String

Optional.

Error handling mode:

  • 0 = default mode.
  • 1 = attempt recovery on all errors.
  • 2 = fail on all errors.

qPartial

Type: Boolean

Optional.

Set to true for partial reload.

qDebug

Type: Boolean

Optional.

Set to true if debug breakpoints are honored. Execution of the script will be in debug mode.

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.doReload().then(function(){
   app.doSave();
});