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
Saskia KuipersSaskia Kuipers 

Hello, can someone help me to search for hard-coded references with the Force.com IDE?

I am unable to install the Force.com IDE app; I wonder if someone can help me to search for hard-coded references in our org please? This to prepare for the Instance Refresh as per this article: https://help.salesforce.com/articleView?id=Updating-Hard-Coded-References-FAQ&language=en_US&type=1 (step 2B). Many thanks!
Raj VakatiRaj Vakati

Download the Salesforce metadata by using  any IDE or tools ( Like force.com IDE , eclipse , VS code etc ) 
Then Right click on the project and search the text whihc you wanted to find 

OR 

Simply Use code analysis tools  like CheckMarx , Apex PMD , code Scanner etc ...






 
Saskia KuipersSaskia Kuipers
Thank you Raj! 

Unfortunately I am not a Salesforce developer (admin) and we don't have in house developers. I was advised by Salesforce support to ask the question here. 

So I am afraid I am unable to check it myself as per your instructions; would you be able to do that by any chance? 
bhanu_prakashbhanu_prakash
Hi Saskia,
Mark as best answer, If it resloves !!
if you have sucessfully installed eclipse in you local machine, if not follow below link instruction 
  1. Launch Eclipse and select Help | Install New Software.
  2. Click Add.
  3. In the Add Repository dialog, set the name to Force.com IDE and the location tohttps://developer.salesforce.com/media/force-ide/eclipse45.
  4. Click OK.
  5. To install an older version of the plug-in, deselect Show only the latest versions of available software.
    Eclipse downloads the list of available plug-ins and displays them in the Available Software dialog.
  6. Select Force.com IDE.
  7. If you want to install the Apex Debugger or our tools for working with Lightning components, select Force.com Debugger or Force.com Lightning Support.
  8. Click Next.
  9. In the Install Details dialog, click Next.
  10. In the Review Licenses dialog, accept the terms and click Finish.
  11. If you chose to install support for Lightning components, Eclipse displays a warning dialog about installing software that contains unsigned content. We are bundling third-party plug-ins to support Lightning components. Salesforce doesn’t own these third-party plug-ins; hence, we don’t sign them. Click OK to proceed.
  12. Eclipse downloads and installs the Force.com IDE and the required dependencies. When the installation is complete, you are prompted to restart. Click Yes.
  13. When Eclipse restarts, select Window | Open Perspective | Other. Select Force.com and then click OK.
    You are now ready to develop and customize Salesforce applications in Eclipse!
Then move to apply on  b) Search for hard-coded references with the Force.com IDE

Mark as resloved if it helps :) :)
Thanks, 
Bhanu Prakash
visit ForceLearn.com​ (https://www.forcelearn.com)
Raj VakatiRaj Vakati
I may not the correct person to do it .. becasue i need your instance access to do this work 

Use CheckMarx tool ... download salesforce metadata into eclipse and upload this folder to checkmarx direclty 


Creating and Configuring a CxSAST Project (up to v8.0.0)

https://checkmarx.atlassian.net/wiki/spaces/KC/pages/28999742/Creating+and+Configuring+a+CxSAST+Project+up+to+v8.0.0