# List the items of a folder connection

List the items for a folder connection by using the [GetFolderItemsForConnection method](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/service-doc-getfolderitemsforconnection.htm).

## Example

[](https://help.qlik.com/en-US/sense-developer/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/ViewDataToLoad/list-items-in-directory.htm)

#### The goal is to list the items present in the folder related to a connection.

The identifier of the connection is 93F0CCF9-515B8B03-C9E807E1-B1D1DBDD-BC9F994B.

The client sends:

```
 {
  "jsonrpc": "2.0",
  "id": 6,
  "method": "GetFolderItemsForConnection",
  "handle": 1,
  "params": [
    "93F0CCF9-515B8B03-C9E807E1-B1D1DBDD-BC9F994B"
  ]
}
```

The engine returns:

```
{
  "jsonrpc": "2.0",
  "id": 6,
  "result": {
    "qFolderItems": [
      {
        "qName": "alternatestate_simple.qvf",
        "qType": "FILE"
      },
      {
        "qName": "CtrlQQ.qvf",
        "qType": "FILE"
      },
      {
        "qName": "Golf Quest.qvf",
        "qType": "FILE"
      },
      {
        "qName": "CustomData",
        "qType": "FOLDER"
      }
   ]
```

```
  }
```

```
}
```

```

```

The directory linked to the connection contains three files and one folder.