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