Skip to main content Skip to complementary content

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 CommitDraft method.

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.

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.

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!