IHubImportAppAsyncT Method (AsyncHandle, FuncResponse, T, String, String, IEnumerableString) |
Imports an app to the Qlik Sense repository.
This method applies only if running in server mode.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> ImportAppAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string appId,
string srcPath,
IEnumerable<string> ids
)
Function ImportAppAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
appId As String,
srcPath As String,
ids As IEnumerable(Of String)
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - appId
- Type: SystemString
Identifier (GUID) of the app entity in the Qlik Sense repository.
The app entity must have been previously created by the repository (via the REST API).
This parameter is mandatory. - srcPath
- Type: SystemString
Path and name of the source app.
This parameter is mandatory. - ids
- Type: System.Collections.GenericIEnumerableString
Array of identifiers.
The list of all the objects in the app to be imported must be given. This list must contain the names of all these objects.
Type Parameters
- T
Return Value
Type:
TaskTSee Also