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...
Introduction: Maintaining a blog is an excellent way to share your thoughts, ideas, and experiences with the world. However, occasionally you might encounter technical issues that can be frustrating to deal with. One common problem is when only the latest post appears on the homepage, while the remaining blogs are nowhere to be found. In this blog post, we will explore a solution to this issue. Problem Description: You've put effort into creating multiple blog posts, but when you publish them, only the most recent one is visible on your homepage. This is certainly not what you intended, especially when you have configured your layout settings to display a total of nine blog posts. Solution: To ensure that all your blog posts appear on the homepage as desired, follow these steps: 1. Edit the Latest Post: