Posts

Apex Best Practice: Should You Use Multiple Try-Catch Blocks in One Method?

Image
  In Salesforce development, handling exceptions properly is essential to writing robust and maintainable Apex code. A common question that developers often ask is: "Is it okay to use multiple try-catch blocks in a single method?" The answer is: It depends. Let’s break it down with best practices, examples, and when it's actually beneficial. ✅ When to Use Multiple Try-Catch Blocks Using multiple try-catch blocks makes sense when: Different operations in your method are independent . You want to gracefully handle errors and continue execution even if one operation fails. You need to log specific messages or take different actions for different types of exceptions. Example: Independent Operations In this example, even if the account insert fails, the contact insert is still attempted. This makes your logic more resilient and less prone to total failure. public void processAccountAndContact() {     try {         insert account;  ...

Why You Shouldn't Miss TDX Bangalore 2025 – A Golden Opportunity for South Asian Trailblazers

Image
TrailblazerDX (TDX) is more than just a conference—it's an experience that fuels innovation, learning, and community. And now, after a long wait, we can relive that experience in South Asia with TDX Bangalore 2025 . Register Now:  https://www.salesforce.com/in/tdx/?d=pb 📅 Date: May 2-3, 2025 📍 Venue: Bangalore International Exhibition Centre (BIEC), Bangalore, India The first-ever TDX India happened in 2019 , and it was a groundbreaking event that brought together Salesforce professionals, developers, and architects from across the region. Unfortunately, the pandemic disrupted its continuity, leaving many of us yearning for another chance to immerse ourselves in this incredible ecosystem. Now, in 2025, the wait is finally over , and we have the golden opportunity to reconnect, re-engage, and rebuild stronger than ever. 1. Join the TrailblazerDX Hackathon TDX Bangalore 2025 will feature an exciting Hackathon, bringing together talented developers and problem-solvers to innovate ...

Salesforce MVP Nominations Are Open for 2025: Recognize Community Excellence

Image
The time has come to celebrate and acknowledge the incredible contributions of Trailblazers across the Salesforce ecosystem! The Salesforce MVP nomination process for the Class of 2025 is officially open, and you have the opportunity to recognize individuals who have demonstrated expertise, leadership, and a deep commitment to giving back to the community. What Is a Salesforce MVP? The Salesforce MVP program honors outstanding Trailblazers who share their knowledge, inspire others, and make a lasting impact on the Salesforce community. These individuals exemplify the core values of the program: Expertise – Deep understanding and technical proficiency in the Salesforce platform. Leadership – Proactive in guiding and mentoring the community, both online and offline. Generosity – Always willing to share insights, resources, and support to help others grow. As someone who has personally experienced the honor of being named a Salesforce MVP in 2019—and later inducted into the MVP Hall of...

Master Salesforce Automation with "Salesforce Automation with Salesforce Flow and Apex" by Om Prakash – A Comprehensive Review

Image
Those who seek to master automation and are salesforce admins, consultants, or developers should read the book: “Salesforce Automation with Salesforce Flow and Apex"" as it is written by Om Prakash who highly recommends it. This book provides comprehensive and easy-to-understand guidance for people who want to know how to use Salesforce Flow, Apex, and other forms of automation to improve their business operations. This book is reviewed by Nipunu Wijesinghe who has experience over 12 years in the IT industry, including 8 years specializing in Salesforce solutions. Author Background Om Prakash is a 5x Salesforce MVP and the founder and CEO of AppyCrown Private Limited. His extensive experience as a developer, architect, and mentor is easily identifiable throughout the book's pages as long as you are an active member of the Salesforce trailblazer community. Since Om is passionate about teaching and sharing knowledge, this book is useful for someone who is a novice or someon...

Embrace Opportunity: Why London's Calling 2024 Is Essential for Your Salesforce Journey

Image
  London's Calling isn't just another Salesforce event—it's an unparalleled opportunity for professionals in the ecosystem to grow, connect, and innovate. As Europe's largest community-led Salesforce event, it promises a dynamic experience that goes beyond typical industry gatherings. This dynamic event is scheduled for 19th July 2024 at  The Brewery, 52 Chiswell St, London, UK.  I will be traveling from Sri Lanka to speak about " Mastering Design Patterns for Salesforce Success" .  Join me on 19th July 2024. Tickets are available at  https://www.londonscalling.net/ Here's why you shouldn't miss out on London's Calling 2024: 1. Expand Your Skill Set At London's Calling, you'll dive into 59 sessions packed with insights on everything from project implementation secrets to advanced coding techniques. Whether you're honing existing skills or exploring new Salesforce features like Marketing Cloud and Lightning, the event offers a platform ...

Embrace the Dream: Why You Should Participate in Bharat Dreamin' 2024

Image
  In the vibrant landscape of technology conferences, one event stands out for its ethos of inclusivity, innovation, and community spirit – Bharat Dreamin'. Rooted in the vision of 'One India Trailblazers,' Bharat Dreamin' 2024 is more than just a Salesforce conference; it's a celebration of collaboration, learning, and growth. This conference is scheduled for 13th July 2024 at Rajasthan International Center, Jaipur, Rajasthan, India.  Register Soon: https://bharatdreamin.com/ As the anticipation builds for Bharat Dreamin' 2024, let's delve into why you should mark your calendar and participate in this dynamic event. Community-Led Excellence : Bharat Dreamin' 2024 is a testament to the power of community-led initiatives. It's organized by passionate individuals who believe in the collective strength of the Salesforce ecosystem. By participating, you not only contribute to this vibrant community spirit but also gain insights and experiences shared by ...

Exploring Salesforce Dynamic Forms vs. Record Types: Choosing the Right Tool for Your Business

Image
  Salesforce, as one of the leading CRM platforms, offers many tools and features to customize user experience and streamline processes. Two popular customization options, Salesforce Dynamic Forms and Record Types, play pivotal roles in tailoring the platform to meet specific business needs. But when it comes to choosing between the two, which one holds the crown? Let's dig into their functionalities, use cases, and security considerations to determine the best fit for your organization. Understanding Salesforce Dynamic Forms and Record Types Salesforce Dynamic Forms: Dynamic Forms empower users to customize the layout of their records dynamically, without the need for complex development or code changes. With Dynamic Forms, administrators can build dynamic layouts by dragging and dropping fields onto the Lightning record page, enhancing user productivity and flexibility. Record Types: Record Types allow organizations to offer different business processes, picklist values, and page...