---
title: "Feature: #89644 - Add optional argument \"fields\" to editRecord ViewHelpers"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-89644"
source: "Changelog/10.3/Feature-89644-AddOptionalArgumentFieldsToEditRecordViewHelpers.rst"
typo3-version: "10.3"
typo3-major: 10
type: "feature"
issue: 89644
forge: "https://forge.typo3.org/issues/89644"
tags: ["Fluid", "ext:backend"]
rendered: "2026-09-18T17:00:34+00:00"
---

# Feature: #89644 - Add optional argument "fields" to editRecord ViewHelpers {#feature-89644}

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

## Description {#description}

An optional argument "fields" is added to the `uri.editRecord` and `link.editRecord` ViewHelper.
This can contain the names of one or more database fields (comma separated).

If the argument "fields" is set, FormEngine creates a form to edit only these fields.

## Impact {#impact}

This ViewHelper passes the value given in the `fields` argument to the backend route
`/record/edit` as `columnsOnly` argument.

The functionality for `columnsOnly` has always been there for the backend route
`/record/edit` even before this patch.

## Example {#example}

Create a link to edit the `tt_content.bodytext` field of record with uid 42:

```xml
<be:link.editRecord uid="42" table="tt_content" fields="bodytext" returnUrl="foo/bar">
     Edit record
</be:link.editRecord>
```

Output:

```html
<a href="/typo3/index.php?route=/record/edit&edit[tt_content][42]=edit&returnUrl=foo/bar&columnsOnly=bodytext">
    Edit record
</a>
```
