# Get SubFolder names

## ![](/files/17jdmGFmb6bFqKDlH37g) Get SubFolder names

### Description <a href="#description" id="description"></a>

The Get Subfolder Names transform gets subfolder names from a directory.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | ?            |
| Flink      | ?            |
| Dataflow   | ?            |

### Options

#### Folder tab

| Option                        | Description                                                    |
| ----------------------------- | -------------------------------------------------------------- |
| Transform name                | Name of this transform as it appears in the pipeline workspace |
| Accept foldername from field? | Allows a foldername to be passed as a field.                   |
| Foldername field              | The field which contains the folder name.                      |
| Selected directories          | The directories from which to get the subfolders.              |
| Browse                        | Uses the local file browser to get a path.                     |
| Add                           | Adds the path defined in the Directory field.                  |
| Delete                        | Deletes the path                                               |
| Edit                          | Change the path                                                |

#### Settings tab

| Option                    | Description                                      |
| ------------------------- | ------------------------------------------------ |
| Include rownum in output? | Allows the row number to be added to the output. |
| Rownum fieldname          | The field which contains the row number.         |
| Limit                     | Limits the output rows.                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/getsubfolders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
