web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How do you import multiple lookup values to one field?

(0) ShareShare
ReportReport
Posted on by 221

I'm hoping this is a pretty easy question - I need to import multiple lookup values into one field. How do I do this?

For example, in my Account entity, I have a field called "Region" which is a lookup for the Territory entity. It's an N:N subgrid meaning it can contain more than one Territory in the field. I have a spreadsheet which contains all this information but I'm not sure how to actually import it. Using commas (,) and quotation marks (") to separate the values didn't work. Am I missing something obvious?

Thanks in advance for any help with this!

*This post is locked for comments

I have the same question (0)
  • Martin Donnelly Profile Picture
    1,030 on at

    Until someone comes up with an import solution, an N-to-N relationship IS actually an entity -- at least it has an entity name -- which you can discover in relationship screen.  If you were to write a utility using the SDK API, you would find and use the Associate method.  I've never actually tried to "export for reimport" or download a template for importing to an N-to-N.

    You might also look into integration tools such as KingswaySoft.  Also requires Visual Studio platform but, is less like writing code.

  • David Jennaway Profile Picture
    14,065 on at

    The standard data import mechanism doesn't support N:N relationships, so unfortunately, as per the previous post, you'll either to do this programmatically using the Associate method, or a 3rd party tool

  • Suggested answer
    Marcel Maier Profile Picture
    60 on at

    There is a Plugin in the XrmToolbox for this. It's called "Manage NN relationships" and it allows you to import excel or csv files where you have to provide a list with the GUID of the entities that you want to connect. Just connect to your organization and select the correct relationship then you can import your list.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans