Salesforce Schema Builder
Table Of Contents Navigating the complexities of Salesforce architecture requires a robust understanding of its data model and the relationships between various objects. The Schema Builder is an invaluable tool for both new and experienced Salesforce users, offering a visual representation of the system’s structure. Our Salesforce training in India…
Can sObjects Be Used as Keys in an Apex Map?
Question Are sObjects supported as keys in an Apex Map? I initially thought they were, but I observed that modifying an sObject after inserting it into the map seems to break the mapping. Here’s an example in anonymous Apex (API v27.0) demonstrating the issue: This results in the following error:…
Why Is My Code Coverage Low and How Can I Fix It?
Question Code coverage is a measurement of how many unique lines of code are executed when running automated tests. The percentage is calculated Code Coverage = Covered Lines/ Covered Lines+Uncovered Lines * 100 Only executable lines are counted—comments, blank lines, System.debug() statements, and standalone curly braces {} are ignored. However, even after writing test…
Can You Use Built-in Lightning Components in Aura?
Question I have a form where users need to select 3 out of 5 products, similar to the Order > Add Product modal. I was wondering if there is a way to bring that functionality into my Aura component while applying a filter to display only the products I want…
List Views in Salesforce
Table Of Contents In Salesforce, List Views allow users to filter records based on specific fields, enabling easy access to relevant data. They are instrumental in organizing records and providing the capability to manage multiple records simultaneously. By creating custom List Views, users can streamline tasks and enhance productivity. List…
Why Can’t I Add a Property to the Apex Result Array?
Question I’m trying to add a new property called showDeleteButton to each object in the result array returned from an Apex call. However, when I include the result.forEach line, the code after it does not execute. It seems like the mutation is not working as expected, and the array remains…
Why Are Logged Calls Not Visible in Salesforce?
Question We have a new Salesforce user who is a C-level executive, assigned a role higher than some existing users on the record. The record in question is a Person Account, which has multiple logged calls in its activity history. When logging in as the two existing users, all logged…
Why Isn’t My URL Button Working on Mobile?
Question I have a Lightning Web Component (LWC) that is URL Addressable and defined as follows: The component retrieves the record ID from the URL parameters using CurrentPageReference: The init() method makes an Apex call using the oppId. I created a custom URL button on the Opportunity record page with…
Apex API 61: No More Private Method Overriding?
Question After upgrading from API version 60.0 to 61.0, I noticed an unexpected change in the behavior of inheritance for inner classes in Apex. Specifically, I observed that private methods in a superclass are no longer overridden by an inner class in the subclass when both methods have the same…
How to Automate Password Expiry Reminders?
Question I want to automate the process of sending email reminders to Customer Community users when their password is about to expire in 7 days. However, my organization uses multiple profiles for Customer Community users, and each profile has its own password expiration policy (e.g., 90-day expiration, 180-day expiration, etc.)….

