I have an issue with adding of child items under just created parent item. I am using an approach from this post. However, I have an issue because I am using multilanguage pipeline steps (details below).
Sitecore.NET 9.0.1 (rev. 171219) Data Exchange Framework 2.0.1
Data Exchange Framework SDK 2.0.1 Sitecore Provider for Data Exchange Framework 2.0.1(to store items in Sitecore)
My thoughts were following: if we already created a Parent, so we have Parent sitecore item in Target context. I want to use a Parent item as a parent for all its children. So, I set "Pipeline Context Target" for "Parent for Item Location" field in Resolve Item Step.
However, it seems I don't have correct parent item. Error message in the log: Item was not saved. (id: 00000000-0000-0000-0000-000000000000, language: en).
I used dotPeek to check the code of processor ResolveMultilanguageSitecoreItemDictionaryPipelineStep (highlighted on the image above). It seems that we don't use "Parent for Item Location" field at all.
If we check the default pipeline step ResolveSitecoreItemStepProcessor then it seems OK.
As a workaround I will try to create my own processor (as a copy of existing one with some changes), but it would be great to get any suggestions/feed back from some of you as well.
Best regards, Maxim