# SetActiveFieldAsync Method

## Overloads

| [SetActiveFieldAsync(String, Int32, Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetActiveFieldAsync.htm#Qlik_Engine_GenericObject_SetActiveFieldAsync_System_String_System_Int32_System_Int32_) |  | You can use the SetActiveField method with any object that contains a cyclic group as a dimension.<br><br>This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken.<br><br>A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed. |
| --- | --- | --- |
| [SetActiveFieldAsync(AsyncHandle, String, Int32, Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetActiveFieldAsync.htm#Qlik_Engine_GenericObject_SetActiveFieldAsync_Qlik_Engine_AsyncHandle_System_String_System_Int32_System_Int32_) |  | You can use the SetActiveField method with any object that contains a cyclic group as a dimension.<br><br>This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken.<br><br>A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed. |

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

## SetActiveFieldAsync(String, Int32, Int32)

You can use the SetActiveField method with any object that contains a cyclic group as a dimension.

This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken.

A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed.

### Declaration

```

          public Task SetActiveFieldAsync([QixName("qPath")] string path, [QixName("qDimNo")] int dimNo, [QixName("qNewIndex")] int newIndex)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Path to the definition of the object to be selected.<br>For example, `/qHyperCubeDef` . |
| System.Int32 | dimNo | Dimension number or index starting from 0.<br>The default value is 0. |
| System.Int32 | newIndex | Index of the field to jump to. |

### Returns

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

### Implements

[IGenericObject.SetActiveFieldAsync(String, Int32, Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SetActiveFieldAsync.htm#Qlik_Engine_IGenericObject_SetActiveFieldAsync_System_String_System_Int32_System_Int32_)

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

## SetActiveFieldAsync(AsyncHandle, String, Int32, Int32)

You can use the SetActiveField method with any object that contains a cyclic group as a dimension.

This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken.

A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed.

### Declaration

```

          public Task SetActiveFieldAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path, [QixName("qDimNo")] int dimNo, [QixName("qNewIndex")] int newIndex)
    
  
```

### 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 | path | Path to the definition of the object to be selected.<br>For example, `/qHyperCubeDef` . |
| System.Int32 | dimNo | Dimension number or index starting from 0.<br>The default value is 0. |
| System.Int32 | newIndex | Index of the field to jump to. |

### Returns

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

### Implements

[IGenericObject.SetActiveFieldAsync(AsyncHandle, String, Int32, Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SetActiveFieldAsync.htm#Qlik_Engine_IGenericObject_SetActiveFieldAsync_Qlik_Engine_AsyncHandle_System_String_System_Int32_System_Int32_)