Forum Discussion
Hi philliperamos,
You can use mapKeys and mapValues function to extract the values from the file (the first mapper extracts the Keys, the second mapped extracts the Values), also make sure to unchecked the Columns header option in the CSV parser. Please see attached screenshot and pipeline. Hope this helps.
Regards, Jovan.JJ new pipeline 123_2019_11_06.slp (7.2 KB)
- kachanta3 years agoNew Contributor
Yes you can do it. First setup the child object in the Related Object and Related External ID.
setup the objects like this
- prakarshjain5103 years agoNew Contributor II
Hi Kishore,
Thank you for the revert.
I tried the way you have mentioned, but it is not working.
As of now I am using the following pipeline -
In the mapper snap I have mapped the contact and the account fields both and in the upsert snap, I have selected Contact as the object type and in the related object and field it was Account and External Id field respectively as suggested by the comment.
I also tried inserting the account first and then again reading the data from csv to insert the contact.
But the account insert snap and the file reader snap are not getting joined maybe because the output from insert snap is not a valid one for the file reader snap.
Is it possible if you can share the pipeline with me for reference?