Custom Metadata Types vs Custom Settings vs Custom Labels 💬 In plain words: Three lookalikes: Custom Metadata = configuration that DEPLOYS with your code (best for app settings). Custom Settings = org/user-specific values, changeable at runtime (hierarchy type is great for bypass switches). Custom Labels = translatable text for the UI. 📌 Example: API endpoint URLs per environment → Custom Metadata (deploys with code, sandbox vs prod values). A 'Bypass_Automation__c' checkbox an admin flips during data load → hierarchy Custom Setting. The word 'Submit' translated to Hindi → Custom Label. 🎬 Real-Life Example: The Fee Table Trapped Inside Code Skyline charges a different delivery fee per city. Apex needs those rates on every booking. The Old/Bad Way: if (city == 'Delhi') fee = 50. Else if (city == 'Mumbai') fee = 65. … Every rate change is a code change, a test run, and a deployment. Why this is bad: Business data is trappe...
Here is a simplest and easiest steps to complete the VS code, Salesforce extension pack, JAVA, Salesforce CLI setup in your computer.
Step 1 :- The first step is to install and configure java in your computer.
a). Download and Install JAVA:- Download java development kit from here and install it.
Steps to configure environment variable for java :-
1. Right click My Computer and select Properties.
2. On the Advanced tab, select Environment Variables, and then Create New Variable and give new variable name JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1.89.0. Copy your installed JDK path and paste it in Variable Value.
Open command prompt , type JAVAC and press enter. You will see java related information. If you see "javac is not recognized" then repeat above steps.
Step 2 :- Download Salesforce CLI from here. Once installed, you will have to access the "sfdx" command from your command prompt. Run "sfdx help" to get a list of all the commands.
Step 3 :- Download Visual Studio Code form here. One Installed, go to Step 4.
Step 4 :- Install Salesforce Extensions for Visual Studio Code.
1. Launch Visual Studio Code
2. On the left toolbar of Visual Studio Code, click the Extensions icon.
3. Search Salesforce Extension Pack and click Install.
You can find your installed extensions in user directory.
Now, You have completed/finished all the require steps to setup Visual Studio Code for development.
Step 1 :- The first step is to install and configure java in your computer.
a). Download and Install JAVA:- Download java development kit from here and install it.
Steps to configure environment variable for java :-
1. Right click My Computer and select Properties.
2. On the Advanced tab, select Environment Variables, and then Create New Variable and give new variable name JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1.89.0. Copy your installed JDK path and paste it in Variable Value.
Open command prompt , type JAVAC and press enter. You will see java related information. If you see "javac is not recognized" then repeat above steps.
Step 2 :- Download Salesforce CLI from here. Once installed, you will have to access the "sfdx" command from your command prompt. Run "sfdx help" to get a list of all the commands.
Step 3 :- Download Visual Studio Code form here. One Installed, go to Step 4.
Step 4 :- Install Salesforce Extensions for Visual Studio Code.
1. Launch Visual Studio Code
2. On the left toolbar of Visual Studio Code, click the Extensions icon.
3. Search Salesforce Extension Pack and click Install.
You can find your installed extensions in user directory.
Now, You have completed/finished all the require steps to setup Visual Studio Code for development.