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();
});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?