# ReplaceBookmarkAsync Method

## Overloads

| [ReplaceBookmarkAsync(String, Boolean, IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.ReplaceBookmarkAsync.htm#Qlik_Engine_IApp_ReplaceBookmarkAsync_System_String_System_Boolean_System_Collections_Generic_IEnumerable_System_String__) |  | Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out. |
| --- | --- | --- |
| [ReplaceBookmarkAsync(AsyncHandle, String, Boolean, IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.ReplaceBookmarkAsync.htm#Qlik_Engine_IApp_ReplaceBookmarkAsync_Qlik_Engine_AsyncHandle_System_String_System_Boolean_System_Collections_Generic_IEnumerable_System_String__) |  | Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out. |
| [ReplaceBookmarkAsync<T>(AsyncHandle, Func<Response, T>, String, Boolean, IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.ReplaceBookmarkAsync.htm#Qlik_Engine_IApp_ReplaceBookmarkAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_Boolean_System_Collections_Generic_IEnumerable_System_String__) |  | Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out. |

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

## ReplaceBookmarkAsync(String, Boolean, IEnumerable&lt;String&gt;)

Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out.

### Declaration

```

          Task<ReplaceBookmarkResult> ReplaceBookmarkAsync([QixName("qId")] string id, [QixName("qIgnorePatches")] bool ignorePatches = false, [QixName("qObjectIdsToPatch")] IEnumerable<string> objectIdsToPatch = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | Identifier of the bookmark. |
| System.Boolean | ignorePatches | Set to true to exclude patches from the bookmark. Default is false. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | objectIdsToPatch | Add softpatches for this objects if available. If empty all softpatches are added to the bookmark. Ignored if IgnorePatches is set to true. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[ReplaceBookmarkResult](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ReplaceBookmarkResult.htm)&gt; |  |

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

## ReplaceBookmarkAsync(AsyncHandle, String, Boolean, IEnumerable&lt;String&gt;)

Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out.

### Declaration

```

          Task<ReplaceBookmarkResult> ReplaceBookmarkAsync(AsyncHandle asyncHandle, [QixName("qId")] string id, [QixName("qIgnorePatches")] bool ignorePatches = false, [QixName("qObjectIdsToPatch")] IEnumerable<string> objectIdsToPatch = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | id | Identifier of the bookmark. |
| System.Boolean | ignorePatches | Set to true to exclude patches from the bookmark. Default is false. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | objectIdsToPatch | Add softpatches for this objects if available. If empty all softpatches are added to the bookmark. Ignored if IgnorePatches is set to true. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[ReplaceBookmarkResult](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ReplaceBookmarkResult.htm)&gt; |  |

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

## ReplaceBookmarkAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String, Boolean, IEnumerable&lt;String&gt;)

Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out.

### Declaration

```
Task<T> ReplaceBookmarkAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qId")] string id, [QixName("qIgnorePatches")] bool ignorePatches = false, [QixName("qObjectIdsToPatch")] IEnumerable<string> objectIdsToPatch = null)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | id | Identifier of the bookmark. |
| System.Boolean | ignorePatches | Set to true to exclude patches from the bookmark. Default is false. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | objectIdsToPatch | Add softpatches for this objects if available. If empty all softpatches are added to the bookmark. Ignored if IgnorePatches is set to true. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |