IHubImportAppAsyncT Method (String, String, IEnumerableString, FuncResponse, T, AsyncHandle) |
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: 1.1.0.0 (1.1.0.0)
Syntax Task<T> ImportAppAsync<T>(
string appId,
string srcPath,
IEnumerable<string> ids,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function ImportAppAsync(Of T) (
appId As String,
srcPath As String,
ids As IEnumerable(Of String),
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- 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. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also