---
title: getDataSetFlat
slug: campaign/docs/getdatasetflat-attachment
docTags: 
createdAt: 2026-07-02T19:01:46.338Z
---

**Type**: String\[ ]

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |

**Return values**

Values of the attachments
To assign the returned values to different attachments, you can use the [getColumnNames](docId\:xnTfVH3KmnlP-eUumA8k4) method. With this method, you can determine the number of values of an attachment.

**Code structure**

```javascript
String[] getDataSetFlat(String sessionId)
```
