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...
Random Salesforce Interview Questions 1:- What are junction objects in salesforce? Ans:- Junction objects are objects having TWO master-detail relationships. For Example:- A Candidate can apply for different positions and a position can have many candidates in job posting application. 2:- What is a platform event and why we use it? Ans:- Platform event are events those shows changes. Publish and subscribed model works here. Any changes that happened in salesforce will be reflected in another system in real-time. EventBus class is in salesforce that contains methods to publish events ( eventbus.publish( ) ). 3:- What is Queueable Apex ? Ans:- Basic use of Queueable apex to control asynchronous apex process. Using this we can add jobs to the queue. System.enqueueJob that returns ID Using this ID we can monitor jobs. // Class public class FirsRun implements Queueable{ public void execute ( QueueableContext context ){ ...