Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

A Self Referencing Lookup with the Value of Present Record.

Posted on by Microsoft Employee

Hi All, 

We have a Business requirement,  I know in CRM we can Place a Lookup for the same entity in one of its form,   But the Requirement is to Get the Value of the Record itself in the lookup.   I can give a Example 

Let say we have a Account Record with Name "Company Alpha"  I will place a New Lookup which will be of  Account Entity in the Form,  Requirement is when I open the Form in CRM record of "Company Alpha"  In the account record for this Lookup I need to select the "Company Alpha" ?   

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: A Self Referencing Lookup with the Value of Present Record.

    Hi,

    Did you try this by yourself?

    This is not possible. The term "Self Referential" is used for entities and not for record itself i.e. you can related one account to other but not to itself. This will cause an error.

    Refer below links:

    social.microsoft.com/.../creating-this-parental-association-would-create-a-loop-in-accounts-hierarchy

    community.dynamics.com/.../195623

    titancrm.blogspot.com/.../creating-this-parental-association.html

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: A Self Referencing Lookup with the Value of Present Record.

    Yes, I know this requirement is weird,  but was just curious if we can Achieve this in some possible way.   I am just trying to get all possible expert suggestions.  Thanks.

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: A Self Referencing Lookup with the Value of Present Record.

    Not sure what business problem you are trying to solve & business value you are going to get with this field.

    If you want to display the guid value, then you can store it in a text field for display purpose.

    Ok, even if you try to store the same record as related in lookup, did you try to set in post create plugin, any issues?

    I never tried that - but you see any cyclic reference error.

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