function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AjbiAjbi 

Where is this used for standard fields?

Hi, do you know why there is no "Where is this used" for standard fields? How you can find where standard field is used? 

Thanks

VinayVinay (Salesforce Developers) 
Hi Ajbi,

Used to check the references to a custom field, such as in a formula or Apex class, with a click of the Where is this used? button. You can see where a field is used and where changes to the field appear before you edit it.

Please refer below link for more information.

https://help.salesforce.com/articleView?id=fields_references.htm&type=5

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
AjbiAjbi

Thank you for your quick response, but the point is that this buttion, with option is available only for the custome fields and not for standard one. Do you know maybe why? And how we can find where our standard fields in the apex code are used? In which class I meant.

Thanks

VinayVinay (Salesforce Developers) 
Hi Ajbi,

Yes this is not available for standard fields.

Below are options.

>> Search for the field Name in a IDE like eclipse or mavensmate, for this you need to retrieve all components in your IDE. Use metadata API to create a utility which would do this functionality.

http://wiki.developerforce.com/page/An_Introduction_to_Force.com_Metadata
http://www.salesforce.com/us/developer/docs/api_meta/

Below are few appexchange tools available you can try them as well.

 https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EcsCZUAZ
 https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B5ekWEAR

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
AjbiAjbi
Ok,thanks Vinay
Dongzhi Yang 27Dongzhi Yang 27
https://ideas.salesforce.com/s/idea/a0B8W00000Gdc0zUAB/expand-where-is-this-used-functionality-to-standard-fields, there is an idea for it. 
Standard fields are a little more difficult to search in code because they don't have "__c" as part of the field name so they may coincidently appear the same as some variable names or strings
Dongzhi Yang 27Dongzhi Yang 27
I have only figured out how to get which page layouts a field is on by using metadata API, however, I am still trying to find a way for other areas.
Petr Hyka 9Petr Hyka 9
Hi, Ajbi, Dongzhi,
have you ever tried the HappySoup.io? With this (free) tool, under "Impact Analysis", you should be able to analyse also Where the Standard fields are used. Hope this helps. P.