# SetScriptAsync Method

## Overloads

| [SetScriptAsync(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.SetScriptAsync.htm#Qlik_Engine_App_SetScriptAsync_System_String_) |  | Sets values in script. |
| --- | --- | --- |
| [SetScriptAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.SetScriptAsync.htm#Qlik_Engine_App_SetScriptAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Sets values in script. |

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

## SetScriptAsync(String)

Sets values in script.

### Declaration

```

          public Task SetScriptAsync([QixName("qScript")] string script)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | script | Script content. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

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

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

## SetScriptAsync(AsyncHandle, String)

Sets values in script.

### Declaration

```

          public Task SetScriptAsync(AsyncHandle asyncHandle, [QixName("qScript")] string script)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | script | Script content. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IApp.SetScriptAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SetScriptAsync.htm#Qlik_Engine_IApp_SetScriptAsync_Qlik_Engine_AsyncHandle_System_String_)