Capgemini / xrm-datamigration

Export and import data for Microsoft Dataverse. Supports JSON and CSV.
MIT License
24 stars 11 forks source link

Alias mapping where more than one target entity type #8

Closed ewingjm closed 4 years ago

ewingjm commented 4 years ago

Import failed when alias mapping the parentsiteorlocation field of the sharepointdocumentlocation entity. I believe this is because the metadata will return two possible entity logical names for that lookup (sharepointdocumentlocation and sharepointsite) but only one result is expected.

I've updated this processor to instead only replace the ID of the existing entity reference - as the original logical name of the exported entity reference is presumably correct. Not sure what other entity references this affects but suspect there will be more than one out-of-the-box entity reference that works in this way.