Creates an app and opens a session.
This method applies only if running a local installation of Qlik Sense.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
public Task<T> CreateAppExAsync<T>(
string docName,
string userName = null,
string password = null,
string serial = null,
string localizedScriptMainSection = null,
Func<Response, T> onResult,
string userHandle = null
)
public Task<T> CreateAppExAsync<T>(
string docName,
string userName = null,
string password = null,
string serial = null,
string localizedScriptMainSection = null,
Func<Response, T> onResult,
string userHandle = null
)
Public Function CreateAppExAsync(Of T) (
docName As String,
Optional userName As String = Nothing,
Optional password As String = Nothing,
Optional serial As String = Nothing,
Optional localizedScriptMainSection As String = Nothing,
onResult As Func(Of Response, T),
Optional userHandle As String = Nothing
) As Task(Of T)
Public Function CreateAppExAsync(Of T) (
docName As String,
Optional userName As String = Nothing,
Optional password As String = Nothing,
Optional serial As String = Nothing,
Optional localizedScriptMainSection As String = Nothing,
onResult As Func(Of Response, T),
Optional userHandle As String = Nothing
) As Task(Of T)
Parameters
- docName
- Type:
System String
Name of the app
This parameter is mandatory.
- userName (Optional)
- Type:
System String
Name of the user
This parameter is optional.
- password (Optional)
- Type:
System String
Password of the user
This parameter is optional.
- serial (Optional)
- Type:
System String
Current Qlik Sense serial number
This parameter is optional.
- localizedScriptMainSection (Optional)
- Type:
System String
Name of the first section in the script editor.
This parameter is optional.
The default value is Main.
- onResult
- Type:
System Func Response, T
Continuation function
- userHandle (Optional)
- Type:
System String
Handle identifier
- T
Return Value
Type:
Task T Implements
IHub CreateAppExAsync T (String, String, String, String, String, Func Response, T , String)