CreateDraftAsync Method
Overloads
| CreateDraftAsync(String) |
Creates a draft of an object. This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published. Replace the published object by the content of the draft by invoking the |
|
| CreateDraftAsync(AsyncHandle, String) |
Creates a draft of an object. This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published. Replace the published object by the content of the draft by invoking the |
|
| CreateDraftAsync<T>(AsyncHandle, Func<Response, T>, String) |
Creates a draft of an object. This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published. Replace the published object by the content of the draft by invoking the |
CreateDraftAsync(String)
Creates a draft of an object.
This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published.
Replace the published object by the content of the draft by invoking the CommitDraft method.
Declaration
[Obsolete("")]
Task<string> CreateDraftAsync([QixName("qId")] string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id |
Identifier of the object to create a draft from. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Remarks
The identifier is set by the engine.
CreateDraftAsync(AsyncHandle, String)
Creates a draft of an object.
This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published.
Replace the published object by the content of the draft by invoking the CommitDraft method.
Declaration
[Obsolete("")]
Task<string> CreateDraftAsync(AsyncHandle asyncHandle, [QixName("qId")] string id)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | id |
Identifier of the object to create a draft from. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Remarks
The identifier is set by the engine.
CreateDraftAsync<T>(AsyncHandle, Func<Response, T>, String)
Creates a draft of an object.
This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published.
Replace the published object by the content of the draft by invoking the CommitDraft method.
Declaration
[Obsolete("")]
Task<T> CreateDraftAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qId")] string id)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | id |
Identifier of the object to create a draft from. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
The identifier is set by the engine.