---
title: "Feature: #20767 - Allow nested array access on getData of field"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-20767"
source: "Changelog/7.1/Feature-20767-getDataByNestedKey.rst"
typo3-version: "7.1"
typo3-major: 7
type: "feature"
issue: 20767
forge: "https://forge.typo3.org/issues/20767"
tags: ["TypoScript", "Frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #20767 - Allow nested array access on getData of field {#feature-20767}

See [forge#20767](https://forge.typo3.org/issues/20767)

## Description {#description}

Right now the `getData` type in TS only allows to access nested arrays in types GPVar and TSFE.
Now the same is allowed for `field` too.

If the field value is `array('somekey' => array('level1' => array('level2' => 'somevalue')));`, you can get the
`somevalue` by configuring the following TypoScript.

```typoscript
10 = TEXT
10.data = field:fieldname|level1|level2
```

## Impact {#impact}

You can now access nested keys via getData `field:`. Nested keys are not available with the default set of
content objects, however just content objects and `USER` object may return such a field structure.
