Is it possible to use dynamic columns in the provided ImportAction?
I'm trying to create an import action with dynamic columns. The idea is to have the user select a given value from a select provided by the
getOptionsFormComponents
( I know that this is not what it's made for, but I don't want to override any of the functionalities of the base action ) and based on the value provided by the user I'd like to change the columns in the Importer class.
I've managed to make it work but it's not the best approach, to say the least:
It kinda works, it's very hacky and the mapping guesser won't fire again (as it's tied to the FileUpload component state changes) so I've been wondering if this is possible in any other ways.0 Replies