Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Change look up displayed value

Posted on by 760

Hi,

when you add a field and change its data type to look up with account as the look up entity the value displayed is the account name.is there a way , i can change that

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Change look up displayed value

    Hi Jane,

    if you solved the problem thanks to an answer, please mark it as verified to encourage the community to provide more and more a better support. Thank you. Francesco

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Change look up displayed value

    Hi Jane,

    i suggest to proceed this way:

    1) Create a new attribute named "Account name" (new_accountname)

    2) Change label for standard account name and hide it

    3) By ondemand workflow or sdk, copy standard account name to new account name

    4) Create a workflow which copy the value of attribute you want to display as Lookup Label each time this attribute is modified (or record is created); run it on first time to update all values

    5) You are done!

    Please let me know if you solve

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Preeti Sharma Profile Picture
    Preeti Sharma 2,678 on at
    RE: Change look up displayed value

    Hi Jane,

    You can do it by javascript. Please follow below link:

    blogs.msdn.microsoft.com/.../how-to-display-related-entity-field-in-a-crm-lookup-instead-of-the-primary-entity-field

    Thanks.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Change look up displayed value

    Hi Arci,

    As suggested above, it will display the primary key which you can't change it post creation. However you can still show other columns along with the name. This is managed by the Account Lookup View.

    Hope this helps.

  • Suggested answer
    ARIFNIIT Profile Picture
    ARIFNIIT 1,391 on at
    RE: Change look up displayed value

    you can not change it.  Primary field value will be displayed in Lookup.

    you can define primary field at the time of custom entity creation. so you can choose primary field in custom entity only.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans