IAppAddFieldFromExpressionAsyncT Method (String, String, FuncResponse, T, AsyncHandle) |
Adds a field on the fly.
The expression of a field on the fly is persisted but not its values.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax Task<T> AddFieldFromExpressionAsync<T>(
string name,
string expr,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function AddFieldFromExpressionAsync(Of T) (
name As String,
expr As String,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- name
- Type: SystemString
Name of the field. - expr
- Type: SystemString
Expression value.
It is not possible to use all aggregation functions. For example, you cannot add a field on the fly with an expression that uses the Sum or Count aggregation functions. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also