OK. Yes, that is possible. Like I said —> itemsProcFunc.
Go into your tca, to the select field.
'renderType' => 'selectSingle',
'foreign_table' => 'tx_cvfoobar_domain_model_kunde',
'itemsProcFunc' => ‚Foobar\CvFoobar\Tca\SelectProcFunc->prepareItems',
class SelectProcFunc
{
public function
Do you need something like that?
'foreign_table_where' => 'AND tx_icingaconfgen_domain_model_kunde.your_property
= ###REC_FIELD_[tx_icingaconfgen_your_model_to_compare.your_property]###‘,
Sorry, but I’m not sure if I understand your use case. It is a bit hard to read
:-)
You can also have a
Hi,
I’m not sure, which properties you want to use for your selection.
But a basic where clause would be:
> 'foreign_table' => 'tx_icingaconfgen_domain_model_kunde‘,
'foreign_table_where' => 'AND tx_icingaconfgen_domain_model_kunde.your_property
= your_value',
See
Basically a simple question (i guess):
I want to add records in the Typo3 backend. Thatfor i made an extension
containing 4 different classes. While adding a record of one specific class to
a folder via the backend i want to have a select that lets me chose from items
of a column from another