-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Save or predefine column mappings #30
Comments
Hello @BastianBalthasarBux, IMHO it would be a good idea creating an import template on the fly while importing a spreadsheet. Additionally, a predefined set could be placed as TSconfig as per table import? Please let me know, which one could be useful. |
My inital idea would either be a Typoscript structure or some kind of record-type.. If it would be the record, I would think a json-structure in a text field with a renderType would be ideal? The question for both versions would be: can an editor create the mapping without seeing the data. What would the next expectation be? That someone selects presets on the preview-screen? or that someone would select a preset on the upload-screen and it would be applied automatically, skipping the preview screen? or both? |
AFAIK TypoScript in backend should be avoided, we should use PageTs, which is for backend setup. But yes, something like this was in my mind, too. |
I would say - create a table / tables for it to save these presets, and let it be choosable.
Than, if a preset is selected for an import it could be validated if all columns are in there or not or similar adjustable options. I would stay away from PageTS config (and TypoScript is out if discussion). Using tables for it allows to be simply editable / maintanable in the backend with TYPO3 core ways (list module and form engine). Another way could be, to use |
Hi, sorry, I was on T3BOARD24 and had no time to answer here. For me, a predefined TSConfig would be great! |
A TSConfig is also deployable, you just need to add it to your sitepackage. I don't get it, what YAML makes here any better. If it needs to be editable in the backend, you could add it inline to page tsconfig. You'll lose deployability, but this you lose with your table approach as well. [Although there are ways to deploy databases as well, which resolves in either case ...] |
Add a possibility to predefine or save some column mappings.
For recurring imports with lots of columns, this would add some more comfort for the user.
Predefinition could then be overridden on presentation like it is already.
The text was updated successfully, but these errors were encountered: