Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

list of all the names and display names of all fields in an entity.

Posted on by 826

Hi Experts, 

I'm Trying to get the list of all the names and display names of all fields in an entity. 

but the following query gives me more duplicate data. 

Select  * from  [MetadataSchema].[Attribute] a  inner join [MetadataSchema].[Entity] e on  e.EntityId=a.EntityId where e.Name='entity name'

 

 

on  e.EntityId=a.EntityId

*This post is locked for comments

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: list of all the names and display names of all fields in an entity.

    You should be able to get the needed Metadata by using xrmtoolbox Metadata document generator to an Excel or Word file.

    [View:https://www.xrmtoolbox.com/plugins/MsCrmTools.MetadataDocumentGenerator/]

  • Verified answer
    Shidin Haridas Profile Picture
    Shidin Haridas 3,497 on at
    RE: list of all the names and display names of all fields in an entity.

    This should help you.

    https://community.dynamics.com/crm/b/crmjimwang/archive/2009/03/27/get-entity-47-attribute-39-s-display-name-from-crm-database

    If my answer helps you, please mark it as verified.

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