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
Hm_inviHm_invi 

Need to find where an Email address is being used in the Org.

Hi,
I have a list of Email addresses. I need to find where these are being used in the org. 
Like in which Email Alert or if hardcoded in any component or metadata.
I was told we can find this using the VScode. 
Iam only used to the developer console and new to to the VScode.
Can anyone help me to achieve this?
Thanks!!!!!!!!! 
VinayVinay (Salesforce Developers) 
You would need to retrieve your org metadata and search hardcoded id's, names etc to check the component details in which they are used.

Below links will help you to configure VS code and retrieve metadata.

https://trailhead.salesforce.com/content/learn/projects/quickstart-vscode-salesforce/use-vscode-for-salesforce
https://medium.com/@abhishekpal87/sfdx-setup-deploy-using-vscode-d39f8d060a44

Also you can use ANT Deployment Tool using command prompt.  Check below reference.

http://amitsalesforce.blogspot.com/2017/11/ANTDeploymentTool.html

Hope above information was helpful.

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

Thanks,
mukesh guptamukesh gupta
Hi,

First you need to check which Java version you are using:-

Please follow below steps:-
 
you need to also install JDK 8 or JDK 11. Once you install the right JDK

https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/set-up-visual-studio-code



if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh