# CommitDraft Method

## Overloads

| [CommitDraft(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitDraft.htm#Qlik_Engine_App_CommitDraft_System_String_) |  | Commits the draft of an object that was previously created by invoking the `CreateDraft method`.<br><br>Committing a draft replaces the corresponding published object. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitDraft.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitDraft.htm)

## CommitDraft(String)

Commits the draft of an object that was previously created by invoking the `CreateDraft method`.

Committing a draft replaces the corresponding published object.

### Declaration

```

          [Obsolete("")]
public void CommitDraft([QixName("qId")] string id)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | Identifier of the draft to commit. |

### Implements

[IApp.CommitDraft(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CommitDraft.htm#Qlik_Engine_IApp_CommitDraft_System_String_)