In recent years, there have been significant developments in the implementation and enforcement of CRUD/FLS security measures in Apex. The illustration above showcases the progression of Apex Security Best Practices. It traces back to 2006 when Salesforce developers manually inspected objects for CRUD/FLS permission verification. In 2019, significant updates (WITH SECURITY_ENFORCED and Security.stripInaccessible()) were introduced … Continue reading Pass Security Review with Latest Apex Security Practices
Bring your Salesforce Reports and Dashboards in Slack
Hi! 😀 When working together with teammate or customers, the use of analytics can play a vital role in facilitating discussions. It provides valuable information and facts that aid in decision-making and enhance efficiency. You can make collaboration more effective for your Slack users by giving them access to see Salesforce reports directly from Slack. … Continue reading Bring your Salesforce Reports and Dashboards in Slack
How to use Apex Defined Types as Source in the Data Table?
Hola! 🙂 If you have used the new standard Data Table flow screen component, you might have noticed that the current version Data Table component doesn't support collection of Apex Defined Types. A typical use case for this is when you're receiving data from an external system by doing a callout and want to surface … Continue reading How to use Apex Defined Types as Source in the Data Table?
Integrate Salesforce Flows and Approvals in Slack for Maximum Productivity
Hola! :)I recently had the opportunity to share the virtual stage with Antoine Cabot, Senior Director PM @ Salesforce on an episode of the Automate This! series. In this episode, I shared how you can run flows directly in Slack and increase your end users' productivity. Here’s the recording of the same (links for blog … Continue reading Integrate Salesforce Flows and Approvals in Slack for Maximum Productivity
LWC SOQL Utility – One Apex class for all queries
When creating Lightning Web Components, how often have you had to create an Apex class just to do a simple query. Even for the simplest of queries, you've to create 2 Apex classes, one class that does the query and one additional test class. And often, you want to avoid this overhead for simpler use-cases. … Continue reading LWC SOQL Utility – One Apex class for all queries
Formula: Concatenate multi-select picklist values in Formula field without the trailing ‘;’
Hola! 😀 I recently came across a use case where the customer wanted to display the concatenated values of Multi-select picklist in a formula field. The tricky part of the request was that customer didn't want the leading ';' in the result of formula field. Let's say if we had to write this formula for … Continue reading Formula: Concatenate multi-select picklist values in Formula field without the trailing ‘;’
DataWeave x Apex: Data Transformation Made Easy
Have you write ever had to parse an XML or CSV in Apex? Me too! And we both know how awful that is!! Well, lucky us. Dataweave in Apex will be in beta in Spring '23. And yes, you will be able to play around with it in your org (Enterprise, Performance, Unlimited, and Developer … Continue reading DataWeave x Apex: Data Transformation Made Easy
How to set up Username and Password authentication in new Named Credentials?
Hello there! How's it going? 😀 In one of my recent post I shared how we can pass API key in headers in External Services, and the basis of that solution was the new Named Credentials set up. In Winter ’23, Salesforce has completely reimagined the set up process for Named Credentials. Oddly enough, the … Continue reading How to set up Username and Password authentication in new Named Credentials?
Manage your Flows and their versions easily
Have you gone through the hassle of deleting flow versions one by one? Have you wished for an easy way to mass delete flow versions? Well, I certainly have been wishing for it since long. With the growing usage of flow, one might run into such scenarios more often than ever. Well, good for us … Continue reading Manage your Flows and their versions easily
How to set up Header based API Key authentication in External Services?
Hola! 😀 Passing custom headers, especially for authentication purposes, has been one of the most requested features by External Services users. Thanks to latest enhancements introduced in Winter '23 for Named credentials, we can now pass custom headers while making callouts to external systems. Let's see how the set up would look like. Quick context; … Continue reading How to set up Header based API Key authentication in External Services?