[TYPO3-english] TCA relations not by uid field

Dmitry dmitry at typo3.ru.net
Thu Mar 1 14:31:14 CET 2018


In my TCA I have relation n:1 SuperClass -> Code

    'super_class' => [
        'exclude' => true,
        'label' => 'Super Class',
        'config' => [
            'type' => 'select',
            'renderType' => 'selectSingle',
            'foreign_table' => 'tx_classification_item',
            'minitems' => 0,
            'maxitems' => 1,
        ],
    ],

Field "super_class" related to field "uid". I need to set relation between "super_class" and "code" fields, not "uid" field. Can I do it? 
-- 
Kind regards,
Dmitry Vasilev
www: http://typo3.ru.net/
Skype: thule-varahi;
Phone: +7 950 001 85 15 


More information about the TYPO3-english mailing list