Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Data Map to import to multiple entities

Posted on by

I have created a Data Map that allows data from 1 CSV to be imported into 2 entities. These are 2 custom entities - an entity that contains my main data and a lookup. The Data Map populates the lookup first so that the required related lookup data exists.

The problem I have is if a record in the csv file already has an entry that already exists in the lookup entity then the import fails for the main entity - the records are not imported due to a duplicate lookup reference found.

I have a duplicate detection rule set to prevent duplicate records being added to the lookup entity and this seems to be working as I do not have any duplicate records in the lookup entity.

However, it looks as if all the records are being imported into the lookup entity but before the duplicate detection rule is triggered CRM is then trying to import the data into the main entity before the 'duplicate' lookup record is deleted - hence failure due to a duplicate lookup reference being found.

Any help will be much appreciated.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans