-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can linked objects be created during the import? #1
Comments
Hi @Timonwatteny. what do you mean with linked objects? As far as I know Pimcore does not support links currently, see pimcore/pimcore#4419 Or do you mean object hierachy? So for example that you can import objects with the following tree strcuture:
Or do you mean importing relations? This is of course also possible with this bundle, see https://www.youtube.com/watch?v=nyhKJTzTq-4&list=PL4-QRNfdsdKIfzQIP-c9hRruXf0r48fjt&index=1&t=2352s |
Thanks for the quick reply and excuse me for not being clear enough. What I mean are indeed relations like the manufacturer in the demo, but with the option that the manufacturer you are importing does not yet exists. So everytime I create an object and it has a relation, I want to check if the object exists and if it does, just create the relation but if it doesn't exist, create the related object and the relation at once. Is this clearer for you? Thanks in advance. |
Yes, this is possible. You have to create 2 dataports to achieve this
I thought about adding a feature to create non-existing relational objects on the fly. As you specify relations by a so called data query selector in the attribute mapping of the relation field we know everything about the relational object which we want to assign:
This way when you return for example |
Oké thank you for clarifying this out for me. What you say about the tree is true but there could be an option in the mapping: create object if new + the possibility to add the parent ID so we can specify in which folder our new objects will be created. Another question, do you know how fast the bundle is if we let's say import 10000 products? |
Yes but with all the configuration, what would be the advantage of this in contrast of two separate dataports?
We do a lot to optimize the performance - in speed as well as in memory consumption. |
@Timonwatteny Hope I answered all your questions. If you want to know something else, feel free to open another issue or send us an email. |
See title, I didn't find it in the documentation.
The text was updated successfully, but these errors were encountered: