Pimcore has powerfull plugin DataDirector for import automation. It proposes manual configuration of fields to import and their mapping to Pimcore fields https://www.youtube.com/watch?v=nyhKJTzTq-4&list=PL4-QRNfdsdKIfzQIP-c9hRruXf0r48fjt
It works fine if you have 10-50 fields. How to import that configuration from some csv file whan you have 700+ fields?
There is no ability to import using interface of commandline DataDirector API.
I tried to request such functionality creation from vendor -- it costs.
I tried to edit it in MySQL but it is strictly coupled to other data, see: SELECT sourceconfig FROM
plugin_pim_dataport
;Solution:
Each dataport can be exported and imported to JSON. This is our chance.
create sample dataport using your source XML
export it to sample.json
unserialize $json_a['plugin_pim_dataport']['sourceconfig'] and $json_a['plugin_pim_rawitemField'] containers
add new fields to them from any source e.g. CSV
serialize, save to JSON, import to your dataport.