There are some bunch of custom and standard fields that are not being used in my sandbox. I know how to check for one field(Delete it and if it says it is referred somewhere. If it says so, it is being used or else it is not) . But if there are more fields which are not being used , how can i come to know that? Trying above technique would take long time. So please provide me any easy way to do this

  • Are you asking if a field is being referenced in code, workflows, formulas etc or are you asking if a field is being populated with data? – dBeltowski May 28 '15 at 13:04
  • yes !! precisely !! – ram451 May 29 '15 at 6:03
  • I don't know of any other way to do it in the Salesforce UI, other than what you mentioned. I develop with Sublime Text / MavensMate and will do a global search for the field API Name. This will locate any uses of it, but it's not perfect. You would need to make sure you have all the metadata for workflows, sObject field and what not. – dBeltowski May 29 '15 at 13:06

It depends on what you mean by not used. If by not used you mean no data then you could either run a report if it is a small amount of fields or you could use the FieldTrip app. The app will give you a run down of how often fields are used. It is on the appexchange and I think it may be free. If you are not looking for whether the field has data and are more concerned about the code, formulas, etc the field is used in then you could try Eclipse. In Eclipse if you go to your workspace and then press CTRL+H and type in the name of the field, the places where that field is referenced should pop up in the results.


I use the 'Metadata Search" free app from the app exchange. Install it in the org you are working in and it will list all components that reference the field.

  • Can you just clarify whether or not you are affiliated with this product? Thanks! – Adrian Larson May 1 '17 at 16:19
  • Hi @AdrianLarson -- I am not affiliated with Metadata Search. – Trinh Harrison May 9 '17 at 21:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.