Skip to main content Skip to complementary content

DoReloadAsync Method

Overloads

DoReloadAsync(Int32, Boolean, Boolean)

Reloads the script that is set in an app.

Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

DoReloadAsync(AsyncHandle, Int32, Boolean, Boolean)

Reloads the script that is set in an app.

Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

DoReloadAsync<T>(AsyncHandle, Func<Response, T>, Int32, Boolean, Boolean)

Reloads the script that is set in an app.

Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

DoReloadAsync(Int32, Boolean, Boolean)

Reloads the script that is set in an app.

Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

Declaration

      public Task<bool> DoReloadAsync([QixName("qMode")] int mode = 0, [QixName("qPartial")] bool partial = false, [QixName("qDebug")] bool debug = false)
    

Parameters

Type Name Description
System.Int32 mode

Error handling mode One of:

  • 0: for default mode.
  • 1: for ABEND; the reload of the script ends if an error occurs.
  • 2: for ignore; the reload of the script continues even if an error is detected in the script.
System.Boolean partial

Set to true for partial reload. The default value is false.

System.Boolean debug

Set to true if debug breakpoints are to be honored. The execution of the script will be in debug mode. The default value is false.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

Remarks

The operation is successful if qReturn is set to true.

DoReloadAsync(AsyncHandle, Int32, Boolean, Boolean)

Reloads the script that is set in an app.

Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

Declaration

      public Task<bool> DoReloadAsync(AsyncHandle asyncHandle, [QixName("qMode")] int mode = 0, [QixName("qPartial")] bool partial = false, [QixName("qDebug")] bool debug = false)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Int32 mode

Error handling mode One of:

  • 0: for default mode.
  • 1: for ABEND; the reload of the script ends if an error occurs.
  • 2: for ignore; the reload of the script continues even if an error is detected in the script.
System.Boolean partial

Set to true for partial reload. The default value is false.

System.Boolean debug

Set to true if debug breakpoints are to be honored. The execution of the script will be in debug mode. The default value is false.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

Remarks

The operation is successful if qReturn is set to true.

DoReloadAsync<T>(AsyncHandle, Func<Response, T>, Int32, Boolean, Boolean)

Reloads the script that is set in an app.

Logs

When this method is called, audit activity logs are produced to track the user activity.

In the case of errors, both audit activity logs and system services logs are produced.

The log files are named as follows:

Please refer to Engine API reference for table definition.

Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

Please refer to Engine API reference for table definition.

Declaration

      public Task<T> DoReloadAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qMode")] int mode = 0, [QixName("qPartial")] bool partial = false, [QixName("qDebug")] bool debug = false)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

System.Int32 mode

Error handling mode One of:

  • 0: for default mode.
  • 1: for ABEND; the reload of the script ends if an error occurs.
  • 2: for ignore; the reload of the script continues even if an error is detected in the script.
System.Boolean partial

Set to true for partial reload. The default value is false.

System.Boolean debug

Set to true if debug breakpoints are to be honored. The execution of the script will be in debug mode. The default value is false.

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Implements

Remarks

The operation is successful if qReturn is set to true.

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!