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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

How can I import existing contacts to a lookup field in a custom entity

(0) ShareShare
ReportReport
Posted on by 10

I am using Dynamics Online and have created two new entities to handle our event registration. I have created a lookup field linked to contacts which works if i manually search for contacts in the field using their email address. However, when I import the contact email address the system cannot recognise the query. 

Is there a work around for this?

I have the same question (0)
  • Community Member Profile Picture
    on at

    In order to import lookup fields you need to render the CSV source attribute in the following format:

            " [ Related Entity Type Name ] , [ Related Entity Instance GUID ] "

    For example

            "account,{BB51BC3D-98EB-DC11-9C73-0002B3C73EB0}"

    Here is a complete contacts.csv example

    FirstName,LastName,ParentCustomer

    Adi,Katz,"account,{BB51BC3D-98EB-DC11-9C73-0002B3C73EB0}"

    Notice the " " wrapping the lookup value. This is because a comma (,) is used to separate the Related Entity type and value.

  • PeterMode Profile Picture
    10 on at

    Hi Lewis

    Thanks for the feedback. I have tried putting in the following into the contact field. 

    This is a test first name, last name, account

    AMBATest1,AMBATest1,"Faculty of Economics and Business, University of Indonesia"

    I was not able to find the account number like what you have listed above..  {BB51BC3D-98EB-DC11-9C73-0002B3C73EB0}" is this something I will need to generate on each contact or account? or is there away I can find this? I have looked in the customisation settings and cannot find a ParentCustomer field. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,091 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,032 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 946 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans