.. include:: /Includes.rst.txt .. _typo3-backend-uri-editrecord: ==================================================== uri.editRecord ViewHelper `` ==================================================== 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 :ref:` `. Examples ======== URI to the record-edit action passed to FormEngine:: ``/typo3/record/edit?edit[a_table][42]=edit&returnUrl=foo/bar`` URI to the edit record action: edit only the fields title and subtitle of page uid=42 and return to foo/bar:: ```` .. _typo3-backend-uri-editrecord_arguments: Arguments ========= .. _uri.editrecord_uid: uid --- :aspect:`DataType` mixed :aspect:`Required` true :aspect:`Description` Uid of record to be edited, 0 for creation .. _uri.editrecord_table: table ----- :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` Target database table .. _uri.editrecord_fields: fields ------ :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Edit only these fields (comma separated list) .. _uri.editrecord_returnurl: returnUrl --------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Return to this URL after closing the edit dialog