Skip to main content

Salesforce.com

Dynamic Forms for Detail Views in Salesforce

·3 mins
Salesforce UI configuration has been straight forward - Create a Page Layout for an object (and assign that to profiles/permission sets) Add button/action link/other controls to layout Add fields Salesforce shows the “proven”, “battle tested”, two-column layout for the fields and that was that.

Apex Debug Log Analyser

·1 min
Apex logs are full of “stuff”. While that generally may be a good thing, getting around to the problem at hand may be a tad bothersome. I don’t quite spending a lot of time debugging, but debug statements + log filters in Developer Console have been my go-to tools like any good developer.

Using Salesforce as an Authentication Provider

·3 mins
In this post we will see how Salesforce can be used as an authentication ( + authorisation) provider with OpenID connect. But first, what exactly is OpenID connect anyway? In simple words - it is a way to perform authentication and (basic) authorisation from a trusted server using OAuth 2.

Create Quick Data Entry Screens with Screen Flow

·3 mins
The typical “CRM flows” work ok, but there’s always opportunities to make them efficient.Consider the below simple “new customer onboard” work flow - Create account (and contact) information Capture a case for an installation service Normally, this would mean -

Visualise Any Object in a Calendar in Salesforce

·1 min
Salesforce makes it super easy to view (almost) any data in a calendar. All you have to do is a few steps - Click on App launcher, search for Calendar and select it In the calendar view, look out for My Calendars towards the bottom, right-hand side of the screen Click on the cog (⚙) icon, click New Calendar Select the object that you need Select fields for calendar and values to display I chose Contact and Last Viewed Date to view the last names of contacts I have connected with this week / today.

Capture Apex Errors in Salesforce Objects

·3 mins
What do you do if you want to capture exceptions in Apex? Since Apex is a Java-like language, your gut instinct will be to do something like this - Id inAcctId = '0011J00001mZTMsQAO'; try { Integer someNum = 1; if (someNum == 1) { throw new IllegalArgumentException('I err ' + Datetime.

Create a Simple Calculator using LWC

·3 mins
Let us create a simple calculator app with Lightning Web Component (LWC) in Salesforce. Pre-requisites to get started - Create your org if you don’t already have one - we don’t need to check-in any code Create a new project in VSCode in VSCode and connect to your org (or, open an existing project) Hit Ctrl+Shift+p > enter sfdx: Create a new Lightning Web Component.