Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Lookup field value import through excel by using Import in crm 365

Posted on by 2,665

Hi All,

I am facing below issue while importing records from excel file which has one lookup field column.

pastedimage1648106155910v1.png

I have 5 columns which has First Name,LastName,Mob no,Technical Activity,Email. I have one entity called Technical Activity & it has a subgrid named Technical Activity attendance.So I have uploaded one excel template & by downloading this then added data in the excel & then trying to upload excel to create record.Creating record is fine but need to update column Technical Activity in excel so that regarding should get fill & in associated view on Technical activity it should display.

pastedimage1648106584749v4.png

pastedimage1648106655244v6.png

pastedimage1648106620723v5.png

How can i achieve this ?

I have tried with creating workflow on field chnge of suppose first name or last name on technical activity attendance entity then update Technical Activity field on Technical Activity Attendance.But workflow is not triggering.

pastedimage1648106474092v2.png

Any idea ?

Thanks,

Jharana

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi Bipin,

    I have checked the special charater field value scenario.If i remove - - from name field & save record then name will be like 786 cement shop if i add this in excel then its creating fine.

    That means special charaters are not allowed while importing lookup field .

    Is there any way available to make it possible as in excel also after paste -  786 cement shop - this value error pop up like excel cant understand this as = or - are special charater.

    Thanks,

    Jharana

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi Bipin,

    yes it has special chracter like - - I have created with name TestJh as name is hidden field.but after creation & refresh test got dissapeard only - - is avilable as it is updating from customer Name Lookup field.

    But name comes from customer name lookup field to account .

    pastedimage1648705889915v1.png

    Below screen name is having special charater.

    pastedimage1648705909607v2.png

    Thanks,

    Jharana

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi,

    Can you please create a sample record in Technical Activity with Name as "Test" and now try to upload excel with Technical Activity column value as "Test" to see if it works.

    If it works then you should check if you have any special character in your record.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi Dean,

    yes that was i was taking import all fields so thats why it gave issue.Now you can my latest comment where i have mentioned about Technical Activity column lookup couldnot resolved issue.

    Any idea how can we upload excel without any issue.

    Thanks,

    Jharana

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi Bipin,

    I have checked with above in advanced find with name search its not able to give this value

    below value using

    - A K Construction Company -

    pastedimage1648626575202v4.png

    pastedimage1648626357623v1.png

    pastedimage1648626471631v2.png

    pastedimage1648626518134v3.png

    pastedimage1648626820057v6.png

    Not getting while searching with name in advanced find not getting record after close & open then its coming.

    what could be the issue as its already existing record not the new one.

    Anything i can add regaring as user doesn't want to use guid so instead they need name so that those record should display in associated grid.

    Thanks,

    Jharana

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi,

    Can you please copy the Technical Activity value from Excel and do advanced find to check if record exist with that name?

    Look for Technical Activity Entity

    Name equals paste value from Excel

    I am suspecting something is wrong with the value, it should work with Name field mapping.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • ddevin1 Profile Picture
    ddevin1 100 on at
    RE: Lookup field value import through excel by using Import in crm 365

    In the import summary for failures image above, note that the "lookup reference could not be resolved error" is regarding a field that begins with "campaign" (aka "Campaign Activity ID" or "Campaign Activity Technical Activity Attendance") which is displayed under the "Column Header" column.  

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hi Bipin,

    If am taking Guid of record & pass in column in excel then its creating record with reg coulmn fine.

    But in the case suppose users doesn't know to take the record id & directly they are trying to pass the record name in that case what could be the approach to do .

    Thanks for the help.

    Thanks,

    Jharana

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Thanks Bipin for your quick response.

    I am using below excel :

    pastedimage1648136463895v1.png

    pastedimage1648136674127v2.png

    Then its giving lookup reference couldnot be resolved.How can i take guid of record & what should be the coulmn name to write in excel & format what it should be. Because here i am not creating Technical Activity record just regarding column trying to update on Technical Activity Attendance entity.

    Thanks,

    Jharana

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Lookup field value import through excel by using Import in crm 365

    Hello,

    What value are you passing in Technical Activity column in excel?

    Are you passing Name field value?

    Currently OOB import by default will try to set lookup based on Primary field but you can select other fields to map the lookup field.

    4113.CR85.PNG

    You could also pass Technical Activity GUID to map the lookup field.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans