You need to sign in to do that
Don't have an account?
Saskia 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!
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 ...
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?
Mark as best answer, If it resloves !!
if you have sucessfully installed eclipse in you local machine, if not follow below link instruction
- Launch Eclipse and select Help | Install New Software.
- Click Add.
- In the Add Repository dialog, set the name to Force.com IDE and the location tohttps://developer.salesforce.com/media/force-ide/eclipse45.
- Click OK.
- To install an older version of the plug-in, deselect Show only the latest versions of available software.
- Select Force.com IDE.
- 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.
- Click Next.
- In the Install Details dialog, click Next.
- In the Review Licenses dialog, accept the terms and click Finish.
- 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.
- Eclipse downloads and installs the Force.com IDE and the required dependencies. When the installation is complete, you are prompted to restart. Click Yes.
- When Eclipse restarts, select Window | Open Perspective | Other. Select Force.com and then click OK.
Then move to apply on b) Search for hard-coded references with the Force.com IDEEclipse downloads the list of available plug-ins and displays them in the Available Software dialog.
You are now ready to develop and customize Salesforce applications in Eclipse!
Mark as resloved if it helps :) :)
Thanks,
Bhanu Prakash
visit ForceLearn.com (https://www.forcelearn.com)
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