[TYPO3-dev] id in preProcess hook for new record

Dawid Pacholczyk dpacholczyk at gmail.com
Tue Apr 24 09:59:40 CEST 2012


Hello I need to make some actions on fields in preProcess hook but to do 
this I need the id of news. I can get it when i update record but how 
can I get it when I add record.

For example I need to copy content from bodytext to second field 'to_export'
I`ve tried $incomingFieldArray['to_export'] = 'sample' but this didn`t 
work. How can I do this in preProcess ?

Best regards,
Dawid Pacholczyk



More information about the TYPO3-dev mailing list