Closed bh-teufels closed 2 years ago
Following solution works for me
$GLOBALS['TCA']['tx_myext_domain_model_test']['columns']['pid']['external'] = [
[0] => [
'field' => 'CAT',
'transformations' => [
10 => [
'mapping' => [
'valueMap' => [
'Cat1' => 11,
'Cat2' => 12,
],
]
]
],
'excludedOperations' => 'update'
]
];
Perfect solution, glad that you found out by yourself!
is ist possible to store date in different pid based on value in imported data directly over the configuration? maybe with transformations configuration? or is it only possible with the use of userFunctions like in this older issue https://github.com/cobwebch/external_import/issues/248
e.g: