# CommitScript Method

## Overloads

| [CommitScript(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CommitScript.htm#Qlik_Engine_IApp_CommitScript_System_String_) |  | Commits the current script version so that any future changes will be part of a new version. |
| --- | --- | --- |

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

## CommitScript(String)

Commits the current script version so that any future changes will be part of a new version.

### Declaration

```

          void CommitScript([QixName("qCommitMessage")] string commitMessage = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | commitMessage | Name of the version. |

### Remarks

Only applicable to QCS.