# CommitDraft Method

## Overloads

| [CommitDraft(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CommitDraft.htm#Qlik_Engine_IApp_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.IApp.CommitDraft.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.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("")]
void CommitDraft([QixName("qId")] string id)
    
  
```

### Parameters

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