I want to store the form data in the database using the SaveToDatabaseFinisher. The data should be assigned to the page, where the form Plugin is placed on and I don't know how to find the pid
of the current page. In every example I found, the pid was always hard coded in the yaml file.
I tried {pid}
and {__pid}
without any success. So how to get the current page's id (pid) to store it in the database (in TYPO3 8.7)? Or is it only possible in a later T3 release?
...
databaseColumnMappings:
pid:
value: '{__pid}'
tstamp:
value: '{__currentTimestamp}'
elements:
...
question from:
https://stackoverflow.com/questions/65855319/how-to-store-pid-of-current-page-with-the-savetodatabasefinisher-and-typo3-extf 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…