Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Listing all lookup fields from given entity in other entities.

Posted on by 25

  Hello!

  I have to list all lookup fields from the User entity which are used in other entities (like, the fields that have a relationship with the User entity in other entities).

  I tried using FetchXML and other XRMToolbox tools, but so far with no sucess. Can somebody help me, please?

   Thanks! , 

   Lucas.

  • Suggested answer
    Marco.P Profile Picture
    Marco.P 2,405 on at
    RE: Listing all lookup fields from given entity in other entities.

    Have you tried Entity Relation Diagram Creator on XrmToolBoox? journeyintocrm.com/.../

    You can use it combined with other tools (maybe metadata document generator?) to get your lookups.

    Otherwise, i can't think of anything else, except submit a ms ticket request to get a backup of your DB and then do it from SQL way , but that's a very bold move!

  • Suggested answer
    RE: Listing all lookup fields from given entity in other entities.

    Hi Luvas

    The app feature I mention in this blog may help josephmcmac.wordpress.com/.../customisation-export-in-josephm-dynamics-365-dev-app

    If you export all fields in the system to CSV or Excel there is a column name Referenced Type. If you then filter it by the relevant type you will have a list of all lookup fields targeting that type

    This details how to install and connect the app to a CE instance josephmcmac.wordpress.com/.../josephm-dynamics-365-dev-app

    Hope this helps

  • Thijs van der Klei Profile Picture
    Thijs van der Klei 780 on at
    RE: Listing all lookup fields from given entity in other entities.

    Hi Lucas,

    In the default solutions > Components > Entities > User > N:1 Relationships you have a list of other entities related to User.

    Isn't that a good starting point?

    Regards,

    Thijs

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans