# GetFolderItemsForPathAsync Method

## Overloads

| [GetFolderItemsForPathAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.GetFolderItemsForPathAsync.htm#Qlik_Engine_Hub_GetFolderItemsForPathAsync_System_String_) |  | Returns the files and folders located at a specified path. |
| --- | --- | --- |
| [GetFolderItemsForPathAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.GetFolderItemsForPathAsync.htm#Qlik_Engine_Hub_GetFolderItemsForPathAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Returns the files and folders located at a specified path. |
| [GetFolderItemsForPathAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.GetFolderItemsForPathAsync.htm#Qlik_Engine_Hub_GetFolderItemsForPathAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Returns the files and folders located at a specified path. |

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

## GetFolderItemsForPathAsync(String)

Returns the files and folders located at a specified path.

### Declaration

```

          public Task<IEnumerable<FolderItem>> GetFolderItemsForPathAsync([QixName("qPath")] string path)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Absolute or relative path.<br>Relative paths are relative to the default `Apps` folder.<br><br><br>**In Qlik Sense Enterprise:**<br><br>The list is generated by the QRS. The GetDocList method only returns documents the current user is allowed to access.<br><br><br>**In Qlik Sense Desktop:**<br><br>The apps are located in `C:\Users<user name>\Documents\Qlik\Sense\Apps`. |

### Returns

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

### Implements

[IHub.GetFolderItemsForPathAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetFolderItemsForPathAsync.htm#Qlik_Engine_IHub_GetFolderItemsForPathAsync_System_String_)

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

## GetFolderItemsForPathAsync(AsyncHandle, String)

Returns the files and folders located at a specified path.

### Declaration

```

          public Task<IEnumerable<FolderItem>> GetFolderItemsForPathAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | path | Absolute or relative path.<br>Relative paths are relative to the default `Apps` folder.<br><br><br>**In Qlik Sense Enterprise:**<br><br>The list is generated by the QRS. The GetDocList method only returns documents the current user is allowed to access.<br><br><br>**In Qlik Sense Desktop:**<br><br>The apps are located in `C:\Users<user name>\Documents\Qlik\Sense\Apps`. |

### Returns

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

### Implements

[IHub.GetFolderItemsForPathAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetFolderItemsForPathAsync.htm#Qlik_Engine_IHub_GetFolderItemsForPathAsync_Qlik_Engine_AsyncHandle_System_String_)

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

## GetFolderItemsForPathAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String)

Returns the files and folders located at a specified path.

### Declaration

```
public Task<T> GetFolderItemsForPathAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qPath")] string path)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/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/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | path | Absolute or relative path.<br>Relative paths are relative to the default `Apps` folder.<br><br><br>**In Qlik Sense Enterprise:**<br><br>The list is generated by the QRS. The GetDocList method only returns documents the current user is allowed to access.<br><br><br>**In Qlik Sense Desktop:**<br><br>The apps are located in `C:\Users<user name>\Documents\Qlik\Sense\Apps`. |

### Returns

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

### Type Parameters

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

### Implements

[IHub.GetFolderItemsForPathAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetFolderItemsForPathAsync.htm#Qlik_Engine_IHub_GetFolderItemsForPathAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_)