Category Archives : Salesforce Technical Questions

Are Journey Builder Update Limits Similar to Data Loader?

On June 27, 2025, Posted by , In Salesforce Marketing Cloud,Salesforce Technical Questions, With Comments Off on 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…

How to Improve Schema Access Performance in Apex?

On June 26, 2025, Posted by , In Apex,Salesforce Technical Questions, With Comments Off on 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?

On June 25, 2025, Posted by , In JavaScript,Salesforce Technical Questions, With Comments Off on 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….

What Are the Differences Between Visualforce Messaging Options?

On June 23, 2025, Posted by , In Apex,Salesforce Technical Questions, With Comments Off on What Are the Differences Between Visualforce Messaging Options?

Question What Are the Differences Between Visualforce Messaging Components and Their Use Cases? Visualforce provides multiple messaging components like , , , and to handle errors, warnings, and informational messages. However, the exact differences between these components and their ideal use cases can be confusing, especially since Salesforce documentation can…

Why is my Salesforce refresh token expiring unexpectedly?

On June 23, 2025, Posted by , In Salesforce Technical Questions, With Comments Off on Why is my Salesforce refresh token expiring unexpectedly?

Question: We have configured our web application to use OAuth2 with our Salesforce Connected App, ensuring that the refresh token never expires unless manually revoked. The app stores the refresh token received after the admin connects to the application, allowing us to communicate with Salesforce’s APIs on behalf of the…

Does the Composite API Support Chatter Feed Elements?

On June 21, 2025, Posted by , In Salesforce Technical Questions, With Comments Off on Does the Composite API Support Chatter Feed Elements?

Question: Is there official documentation that lists the REST API resources supported by the Composite API? I attempted to use the Composite API with a request body that included two operations: a PATCH request to update a Case record and a POST request to create a new Chatter feed element….

Handling Complex Data Types in Dynamic SOQL Queries in Apex

On June 20, 2025, Posted by , In Apex,Salesforce Technical Questions, With Comments Off on Handling Complex Data Types in Dynamic SOQL Queries in Apex

Question How Can I Elegantly Convert a Set of Ids into a String for Use in a Dynamic SOQL IN Comparison? When I have a Set and need to use it in a dynamic SOQL query for an IN comparison, I currently convert the set into a string in the…

Get Dependent Picklist Values in Apex?

On June 19, 2025, Posted by , In Apex,Salesforce Technical Questions, With Comments Off on Get Dependent Picklist Values in Apex?

Question I have a pair of dependent picklists in Salesforce. In Apex code, how can I determine the valid options in the dependent field for each value in the controlling field? For example, consider the following picklists: Controlling Field (Controlling_Field__c): Dependent Field (Dependent_Field__c): I tried using getPicklistValues(), but it does…

What are static code analysis tools for Apex?

On June 17, 2025, Posted by , In Apex,Salesforce Technical Questions, With Comments Off on What are static code analysis tools for Apex?

Question: Are there any static code analysis tools available for Apex? I am aware of the Force.com Security Source Code Scanner, but it has the drawback of requiring requests to be placed in a queue and run remotely, which slows down the development process. Is there a tool I can…

Why Is My Salesforce Webhook Returning “FORBIDDEN”?

On June 16, 2025, Posted by , In Apex,Salesforce Technical Questions, By ,, , With Comments Off on Why Is My Salesforce Webhook Returning “FORBIDDEN”?

Question I recently set up a Stripe Webhook endpoint in our Salesforce sandbox, and it worked perfectly when tested via Postman and Stripe. However, after deploying it to production, I started encountering the following error whenever I tried to access the endpoint via Postman or directly in a browser: I…