-
Notifications
You must be signed in to change notification settings - Fork 16
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
Question: transformation for substructureFields field with child records #335
Comments
It is currently not possible to apply transformations to substructureFields columns. I agree that it would be very nice and - reading your message - I'm starting to see how that could be made possible. But it won't happen right now, mostly for lack of time to start such a development. Now in your case, I think there's something that should work:
Normally what should happen is that the "title" column will be filled first with a dummy value, then with the value from the |
First of all, a huge thank you for the always quick and competent help this is what my configuration looks like now
I don't get any errors but no data records are created and therefore no assignment takes place |
It's hard to say what's wrong. Have you used the Preview feature to check what happens at each step if whether it corresponds to expectations or not? |
I have adjusted the names a little to make a distinction here and have left out the titles for now
in HandleDataStep and TransformDataStep i have the fields
but in StoreDataStep they are gone in StoreDataStep i have a |
Since I don't have the overview of your whole code, I'm going to ask what may be a stupid question. I'm guessing that the import of equipment is separate from some other, main import. Is that right? If that is the case, have you thought about importing the external primary key in your equipment import too (the column defined in "referenceUid", and which needs a column configuration too)? Otherwise, External Import cannot relate the external data to existing records. |
no, I thought that importing using 'children' records would also create them. So I don't currently have any 'equipment' records. my next approach would be not to use a child record but to import it separately and then just do a mapping |
Reading your latest answer made me realize that you are missing one important element in your |
okay, tanks so it works only for inline IRRE I'll test that out |
Indeed yes. Children is essentially for IRRE, otherwise - as you guessed - you will have many duplicates. I guess this could be better explained in the documentation. |
is it possible to make a transformation for a substructureFields field with child records?
my data:
my approach:
i need to distinguish entries by code & value
so for on record i have e.g.
for the other
in my case i need to create / assign two different child records in my table "tx_myext_domain_model_equipment"
how can i achieve that?
The text was updated successfully, but these errors were encountered: