How to Write Test Class for Invokable and @Future Callout?
Question: I’m new to Apex and trying to learn as much as possible. I have two Apex classes that are working fine in my org. The first class is an Invokable Apex class. This class is triggered by a Process Builder when certain conditions are met on the Lead object….
Top Salesforce App Builder Certification Questions 2024
Table Of Contents As the demand for Salesforce App Builders and their expertise continues to rise, earning the Salesforce Platform App Builder certification can significantly enhance your career prospects. This certification validates your skills and showcases your ability to build custom applications on the Salesforce platform to potential employers. CRS…
LWC Community Redirect to Home Not Working?
Question: I am modifying an LWC component in a Salesforce Experience Cloud (Community) site to redirect users to the Home page when they click on a logo. The component’s HTML and JavaScript code are as follows: CommunitySiteLogo.html CommunitySiteLogo.js When clicking the logo, the redirection does not work, and I encounter…
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…
Batch Apex Scenarios in Salesforce
Table Of Contents In the realm of Salesforce, managing vast datasets efficiently is crucial for maintaining system performance and ensuring smooth business operations. Enter Batch Apex, a powerful feature designed to handle large volumes of data in Salesforce seamlessly. As businesses face increasing data complexities, understanding and leveraging Batch Apex…
Are Journey Builder Update Limits Similar to Data Loader?
Question: I have the Marketing Cloud Connector set up and working fine, but I encountered an issue when trying to use Journey Builder to update records in Salesforce CRM. I need to update 1 million subscriber records that have become “hard bounces” by setting the PersonHasOptedOutOfEmail field to true in…
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…
How to Improve Schema Access Performance in Apex?
Question When working with Apex code that needs to interrogate the schema for dynamic behavior, such as defining fields that should be loaded or saved for specific objects (e.g., “Account” or “MyCustomObject__c”), it can be slow and resource-intensive, especially when using calls like Schema.getGlobalDescribe() or Schema.describeSObjects(types). These calls often consume…
Why Do We Need to Hack the Sidebar?
Question: Since it seems that many people still rely on sidebar workarounds, I would like to understand the common use cases, the challenges encountered, and, most importantly, the strategies to avoid these workarounds by utilizing alternative approaches. This is related to the discussion on the end of JavaScript sidebar workarounds….
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…

