web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Finding and removing unused CRM fields

(0) ShareShare
ReportReport
Posted on by

We are currently using CRM 2015 ONLINE and we have a requirement to find and delete unused fields from CRM organization. Also, we feel there are certain performance gains to be had by removing unused fields – especially Lookup and Picklist/Option Set-type fields. Since, these kinds of fields force CRM to get information from other database tables every time they are referenced, so it’s wasted effort to try to fetch that data when you know there never will be anything to fetch.

Do you have any way to figure out, which “columns” are null OR Which columns has count 0 ? And does not contain any value in Table? OR I'm looking for a script/way (to do in CRM ONLINE) that will do a count for every column in a table including the number of null values

Im.png 

I had a thought to Request Organization DB backup from Microsoft, Restore and Use t-sql script to analyze usage of attributes, but as of now it seems to be a very long & time consuming process, as lot of approvals & other stuff would be involved in this process down the hierarchy.

So, what I was wondering if we can do it custom, using CRM SDK. Do you think if there is way using CRM SDK, we can achieve this? Any pointers would be helpful.

I also came across with a tool for this called, “CRM Data Detective”. But maybe it is not supported for CRM 2015. FYR: crmdatadetective.codeplex.com would be happy to listen your views!

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hello 1991-09-12

    Note I would not delete any fields this could really cause problems with upgrades and updates. Best advice is to remove the fields you don't use.

  • Community Member Profile Picture
    on at

    What kind of problem, Can you please provide little more details around it?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    Dont delete CRM system fields from the system. You can try to remove custom fields which you are not using. If you want to boost performance of your system, you can use below.

    www.powerobjects.com/.../how-to-make-unused-oob-fields-unsearchable-in-dynamics-crm

    survivingcrm.com/.../spring-cleaning-dynamics-crm

    Mansoor

  • Community Member Profile Picture
    on at

    Thanks for quick turn around Mansoor,

    1. Yes, I need to remove custom fields from the system (which were put long back ago and are not in use)

    2. Making fields non-searchable is certainly good option. Thanks

    3. I tried to look into "CRMDetectiveTool", But some how its not compatible with 2015, I believe.

    -Raised an Issue already: crmdatadetective.codeplex.com/.../7

  • Community Member Profile Picture
    on at

    Kunal:

    If you up grade sometimes the entities, view and reports will now open and you will get an system error.

  • Community Member Profile Picture
    on at

    I understand your concern Damon, Did you faced such issue ?

    What I was wondering was, we do have RetrieveDependentComponentsRequest class, so based on componentType, we can go through the entire dependencies. Do you think it would help and would secure for any upcoming upgrade issue?

  • Community Member Profile Picture
    on at

    Kunal:

    I understand your concern Damon, Did you faced such issue ? Yes I had issues, and it took along time to resolve them. I believe there were other posting about this.

    The other questions is beyond my scope.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans