Why New Opportunity Quick Action Button Isn’t Showing on Contact
Question: I added the standard “New Opportunity” button to the Salesforce Mobile and Lightning Experience Actions section in the Contact Page Layout and saved the changes. Despite this, the button is not visible when I view the Contact record page in Lightning Experience. What steps am I missing or doing…
How to Handle Cascading Deletes for Complex Relationships in Salesforce?
In our Salesforce org, we have several custom object with deeply nested parent-child relationships (e.g., Object A → Object B → Object C). When deleting a record in the top-level object, we need to ensure that all related child records are properly handled according to specific business rules. Challenges: Questions:…
How to Downloading Source to VS Code?
Question: I am new to Salesforce and trying to retrieve source code from my scratch org into VS Code. I used the Salesforce CLI (sf) to create a new project and then created some custom objects in my scratch org. Now, I am trying to download the source using the…
How to create a formula specific to the running user in Salesforce?
Question How can I edit a field without triggering validation rules for a specific user in Salesforce? I have a requirement where a particular field should be editable by a specific user without causing the validation rules to fire. If you are wondering how to create a formula specific to…
Apex Callout Fails Due to SunCertPathBuilderException?
Question I am trying to make an Apex callout from Salesforce to an external system hosted inside a corporate firewall. The firewall forwards the request to a load balancer, which then routes it to the appropriate web server. While the callout works correctly when tested from SOAP UI, it fails…
What Are the Available Static Code Analysis Tools for Apex?
Question What Are the Best Static Code Analysis Tools for Apex? I’m looking for static code analysis tools specifically designed for Apex development. While the Force.com Security Source Code Scanner is a well-known option, it has the limitation of operating through a queue system, which can delay the analysis. I’m…
PMD Errors in WSDL to Apex Classes?
Question: I am building an AppExchange app and have used WSDL to Apex to generate a Metadata service class. However, the generated class throws PMD errors in the “Code Style” category. The specific errors include: Can I add this Apex class to the “False Positive” list while submitting my app…
Can the Metadata API Be Invoked from Apex?
Question: Is it possible to use the Salesforce Metadata API from within Apex? Can the Metadata API be invoked from Apex? Many sources state that Salesforce doesn’t allow callouts to its own web services from within Salesforce. However, other posts and resources suggest it might be achievable, especially for specific…
Why Do We Still Hack the Sidebar?
Question Despite advancements in Salesforce customization, many users still rely on sidebar workarounds. I’m interested in learning about the specific use cases, the challenges you’ve encountered, and—most importantly—strategies to address these issues using alternative, more official approaches. This discussion relates to methods like those explored in End of JavaScript Sidebar…
How to debug Apex code effectively?
Question: I’m new to Salesforce development and would like to learn how to debug my Apex code effectively. I often encounter issues in my triggers and controllers but struggle to identify the root causes. What steps or tools can I use to output debug information, investigate issues, and resolve errors…

