Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Polymorphic lookup

Posted on by Microsoft Employee

Hi Community,

I have a requirement to implement the custom polymorphic lookup for "Users & Teams". I knew that there is a XRM toolbox tool "Polymorphic Lookup Manager".

But, am afraid to implement as it gives a notification on the top "Polymorphic Lookuos are in preview".

My question here is it recommended to implement this as we are going live in a month and what are the impacts.

Any help greatly appreciated.

  • Suggested answer
    AbdulBasit545 Profile Picture
    AbdulBasit545 30 on at
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Polymorphic lookup

    Thanks for the quick response.

    I would like to appologize for my ignorance, its just I want to make sure the safe way to create a Polymorphic lookup. As per your post I see both ways are similar.

    But, I think will go with the web api code through webapi laucher to create the lookup.

  • Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Polymorphic lookup

    that post just show a video about polymorphic lookups and the web api code to create them, as you already found you can use the XrmToolBox Polymorphic Lookup Creator to create them.

    Polymorphic lookups are not something new in the platform, Owner fields (User and Team) or Customer fields (Account and Contact) work in the same way.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Polymorphic lookup

    Hi Guido Preite,

    Thank you so much for the reply.

    I would like more of your thoughts in  implementing polylookup.

    Just found the other below article.

    vjcity.blogspot.com/.../how-to-search-in-multiple-table-from.html

    Please let me know your thought, If this is the suitable way to implement.

    Thanks & Regards,

    Sravz

  • Verified answer
    Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Polymorphic lookup

    the functionality is in preview, so up to you to decide to use it or not.

    I personally suggest (and I repeat, this is my personal opinion) to use it, it's already available, it's something that impact very much the DB structure (so it's also difficult that will be removed and not go GA)

    if you want to play 100% safe create two lookups and when the polymorphic lookups are GA then create the new column, update the old data and the associated logic

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans