Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Fields of CRM Form

Posted on by 15

Hello

I want all custom fields of an entity which are not used by any form in CRM 2016, i want that list in c#.

Thanks 

*This post is locked for comments

  • Suggested answer
    razdynamics Profile Picture
    razdynamics 17,304 User Group Leader on at
    RE: Fields of CRM Form

    Hi Kashif, there is also a new tool in XRM toolbox that shows all the fields against % that have data, so you can easily identify the redundant fields and export the results to excel so your business can review and delete.

    XRMToolbox> Attribute usage Inspector: Generates field attribute data usage Reports helps identify unused fields

    Hope that helps?

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Fields of CRM Form

    You can do that by:

    • Use a RetrieveEntityRequest to find all attributes
    • Iterate through the attributes to determine which are custom attributes
    • Use RetrieveMultiple to retrieve all systemform records for the entity (you may want to filter by type, as systemform includes dashboards), and parse the formxml data to identify which fields are on the form

    Alternatively, you could use XrmToolbox to get all fields, and all fields on forms, and compare the two

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,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

Featured topics

Product updates

Dynamics 365 release plans