Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How do I import multiple selections into a lookup field?

Posted on by Microsoft Employee

Our Sales staff wanted a new field called "categories" to assign to contacts.  They wanted a contact to be able to have several categories assigned to them, so I created a new Entity called "Contact Category" which has an N:N Relationship with Contact. This seems to work and I'm able to assign several categories to a contact from this lookup.  However, I need to import about 1,300 contacts and some of them have several categories assigned in one field, separated by commas.  Of course when I tried to import them, the ones with one category populated fine, but anything that had multiple separated by commas did not.  I assume it's because it did not match up with any of the options in the category field.  Any ideas on how to import contacts with multiple entries in a lookup field?  Thanks!

Aaron

*This post is locked for comments

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How do I import multiple selections into a lookup field?

    Aaron,

    I'm afraid you will have to restructure your data to make it possible for import. What you need is N-N Import plugin for XrmToolbox - github.com/.../Manage-NN-relationships

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans