App AddFieldFromExpressionAsync T  Method (String, String, Func Response, T , String)Qlik Sense .NET SDK - API Reference

Adds a field on the fly.

The field is added in the database model but the change is not persistent. If the app is closed, the field added on the fly does no longer exist.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public Task<T> AddFieldFromExpressionAsync<T>(
	string name,
	string expr,
	Func<Response, T> onResult,
	string userHandle = null
)

Parameters

name
Type: OnlineSystem String
Name of the field.
expr
Type: OnlineSystem String
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: OnlineSystem Func Response, T 
Continuation function
userHandle (Optional)
Type: OnlineSystem String
Handle identifier
Type Parameters

T

Return Value

Type: OnlineTask T 

Implements

IApp AddFieldFromExpressionAsync T (String, String, Func Response, T , String)
See Also