IAppCreateDraftAsyncT Method (String, FuncResponse, T, AsyncHandle) |
Creates a draft of an object.
This method can be used to create a draft of a sheet that is published. This is a way to continue working on a sheet that is published.
The draft can replace the published sheet by invoking the CommitDraft method.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax Task<T> CreateDraftAsync<T>(
string id,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function CreateDraftAsync(Of T) (
id As String,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- id
- Type: SystemString
Identifier of the object to create a draft from. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also