Actions
Feature #93770
closedSupport ###SITEROOT### as pid in addRecord Wizard
Start date:
2021-03-18
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The TCA Wizard addRecord supports predefining a pid for the record to be crated.
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'title' => 'Create new Record',
'table' => 'my_table',
'pid' => '123',
],
],
],
The documentation states that there are placeholder supported: [[https://docs.typo3.org/m/typo3/reference-tca/master/en-us/ColumnsConfig/CommonProperties/FieldControl/AddRecord.html?highlight=addrecord#confval-options[pid]]]:
- ###CURRENT_PID###
- ###THIS_UID###
- ###SITEROOT###
While the first two are supported, ###SITEROOT### is not.
Actions