Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

uri.editRecord

Use this ViewHelper to provide edit links (only the uri) to records. The ViewHelper will pass the uid and table to FormEngine.

The uid must be given as a positive integer. For new records, use the <be:uri.newRecord>.

Examples

URI to the record-edit action passed to FormEngine:

<be:uri.editRecord uid="42" table="a_table" returnUrl="foo/bar" />

/typo3/index.php?route=/record/edit&edit[a_table][42]=edit&returnUrl=foo/bar

Arguments

uid

DataType

mixed

Required

false

Description

Uid of record to be edited, 0 for creation

table

DataType

string

Required

false

Description

Target database table

returnUrl

DataType

string

Required

false

Description