EvaluateExAsync Method | Qlik Sense for developers Help
Skip to main content Skip to complementary content

EvaluateExAsync Method

Last updated: 2026-11-16

Overloads

EvaluateExAsync(String)

Evaluates an expression and returns the result as a dual.

Example

The client sends:

                          {
                "handle": 1,
                "method": "EvaluateEx",
                "params": {
                    "qExpression": "Sum(Holes)"
                },
                "id": 7,
                "jsonrpc": "2.0"
            }
            

The engine returns:

                          {
                "jsonrpc": "2.0",
                "id": 7,
                "result": {
                    "qReturn": "361716"
                }
            }
            
EvaluateExAsync(AsyncHandle, String)

Evaluates an expression and returns the result as a dual.

Example

The client sends:

                          {
                "handle": 1,
                "method": "EvaluateEx",
                "params": {
                    "qExpression": "Sum(Holes)"
                },
                "id": 7,
                "jsonrpc": "2.0"
            }
            

The engine returns:

                          {
                "jsonrpc": "2.0",
                "id": 7,
                "result": {
                    "qReturn": "361716"
                }
            }
            
EvaluateExAsync<T>(AsyncHandle, Func<Response, T>, String)

Evaluates an expression and returns the result as a dual.

Example

The client sends:

                          {
                "handle": 1,
                "method": "EvaluateEx",
                "params": {
                    "qExpression": "Sum(Holes)"
                },
                "id": 7,
                "jsonrpc": "2.0"
            }
            

The engine returns:

                          {
                "jsonrpc": "2.0",
                "id": 7,
                "result": {
                    "qReturn": "361716"
                }
            }
            

EvaluateExAsync(String)

Evaluates an expression and returns the result as a dual.

Example

The client sends:

                  {
                "handle": 1,
                "method": "EvaluateEx",
                "params": {
                    "qExpression": "Sum(Holes)"
                },
                "id": 7,
                "jsonrpc": "2.0"
            }
    

The engine returns:

                  {
                "jsonrpc": "2.0",
                "id": 7,
                "result": {
                    "qReturn": "361716"
                }
            }
    

Declaration

      Task<FieldValue> EvaluateExAsync([QixName("qExpression")] string expression)
    

Parameters

Type Name Description
System.String expression

Expression to evaluate.

Returns

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

EvaluateExAsync(AsyncHandle, String)

Evaluates an expression and returns the result as a dual.

Example

The client sends:

                  {
                "handle": 1,
                "method": "EvaluateEx",
                "params": {
                    "qExpression": "Sum(Holes)"
                },
                "id": 7,
                "jsonrpc": "2.0"
            }
    

The engine returns:

                  {
                "jsonrpc": "2.0",
                "id": 7,
                "result": {
                    "qReturn": "361716"
                }
            }
    

Declaration

      Task<FieldValue> EvaluateExAsync(AsyncHandle asyncHandle, [QixName("qExpression")] string expression)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String expression

Expression to evaluate.

Returns

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

EvaluateExAsync<T>(AsyncHandle, Func<Response, T>, String)

Evaluates an expression and returns the result as a dual.

Example

The client sends:

                  {
                "handle": 1,
                "method": "EvaluateEx",
                "params": {
                    "qExpression": "Sum(Holes)"
                },
                "id": 7,
                "jsonrpc": "2.0"
            }
    

The engine returns:

                  {
                "jsonrpc": "2.0",
                "id": 7,
                "result": {
                    "qReturn": "361716"
                }
            }
    

Declaration

      Task<T> EvaluateExAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qExpression")] string expression)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

System.String expression

Expression to evaluate.

Returns

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

Type Parameters

Name Description
T

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 – please let us know!