-
Notifications
You must be signed in to change notification settings - Fork 78
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
[BUG] - Linking records in a 2-way lookup (one-to-one) #576
Comments
Hello, |
Hello, It's great that sfdmu handles 2 way dependencies ootb, but do you have some guidance for it? I tried with two custom objects, but got "Missing expected parent ExternalID value". |
Hello, Sorry for the delay. I'm still investigating this issue. However, one thing I can say is that for the Upsert operation, you need to specify the name of the external ID field in the export.json file for the object. Additionally, you should include a column in the CSV file for the external ID field value. Otherwise, the plugin will not be able to bind the objects. For the Insert operation, setting the Id field as the external ID is sufficient. If you set the operation to Insert instead of Upsert, your export.json should work. I will need to confirm whether this works for the CSV file as well and whether there are any bugs. I will update you as soon as I have more information. |
fix: Fixed circular references handling (#576)
@vmjelde Note, that it is not possible to upsert or update records using the same CSV files since you would need to set the external ID field in the export JSON file and provide explicit external ID values for each record, which would require different CSV files. |
This case has been marked as 'to-be-closed', since it has no activity for the 3 days. |
This case has been closed, since it has no activity for the last 6 days. Feel free to reopen it, if you need more help. |
We have 2 objects with a lookup field to eachother:
How can we insert CartItems and Application with both these fields populated?
Can we run insert CartItem, Insert Application, update Cart Item? Or does sfdmu check two-way-lookups (dependencies) and handles it?
The text was updated successfully, but these errors were encountered: