Skip to main content

Latest Post

Custom Metadata Types vs Custom Settings vs Custom Labels

  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...

Salesforce Random Interview Questions Part-2

 Random Salesforce Interview Questions

1:- What is the batch size in salesforce?
Ans:- Minimum 1, Maximum 2000, Default 200.

2:- Is it possible to run future from batch class?
Ans:-
No. it will give FATAL ERROR.

3:- How to track if any update happens in an external server? and it should reflect in the salesforce also.
Ans:-
Use External ID and perform Upsert operation.

4:- How to Navigate in lightning?
Ans:-
Using Lightning: Navigation.

5:- How to Create a popup in lightning?
Ans:-
Using lightning:overlayLibrary.

6:- Which interface should we use for quick action in lightning?
Ans:- force:lightningQuickAction.

7:- How to call the child component method from the parent component?
Ans:-
Using aura: method.

8:-  Types of events in lightning?
Ans:- 1
. Component Event (handled by the component or a component that instantiates or contains the component.
          2. Application Event (Handled by all components that are listening to the event).

9:- What is Queueable apex in salesforce?
Ans:- 
Queueable useful when chaining and Both Batch and Future type of operation needed. The chaining limit is 50 and using job ID we can monitor jobs.

10:- What is the batchable apex in salesforce?
Ans:-
 Useful when a large number of data and complex logic needed to process. We can schedule a batch job. 5 Concurrent jobs limit is there.

Salesforce Random Question Part-1

Popular Posts

Salesforce LWC Code for Multi-Select Lookup

Introduction: In Salesforce Lightning Web Components (LWC), implementing a multi-select lookup field can enhance the user experience and provide greater flexibility for selecting multiple related records. In this blog post, we will walk through the process of creating a multi-select lookup field using LWC. We will cover the required code snippets and provide step-by-step instructions to help you implement this functionality in your Salesforce org.