IAppDestroyDraft Method |
Removes the draft of an object.
The children of the draft object (if any) are removed as well.
This method can be used to cancel the work on the draft of an object. For example, if you had created a draft of a sheet that is published, you might not want anymore to replace the published sheet.
Namespace: Qlik.Engine
bool DestroyDraft( string id, string sourceId )
Function DestroyDraft ( id As String, sourceId As String ) As Boolean