Use “capitalize() “ to make first letter of a word as Capital. Sample Code: Run the below piece of code in Apex execute of Workbench or Anonymous code on Dev Console Output :
Hello Trailblazers, As you may already know the difference between LIST and SET in apex and you may be wondering how you can get the first (or any element) of a SET without iteration. Using Iteration, you can get it easily, Without
Read More
In Salesforce we can use Apex to convert a string to a date or to convert a String to a DateTime, in this blog we will show you how to perform a string to date conversion using Apex. Using Date.parse to convert
Read More
Consider a scenario in which we are supposed to download all files from libraries. Below are different approaches which can be utilized: Approach 1: Salesforce UI Download Button If the file size is around 60 or less in the library then you
Read More
SFDX Falcon plugin is an amazing tool and a marvel of SFDX. Using this tool you can create AppExchange Demo Kit (ADK) project in 10 minutes or less! ADK projects allow Salesforce Developers to build and share rich, dynamic demo orgs in a
Read More
There is a way you can list all of your custom fields by created date using SOQL in Developer Console. Don’t forget to check the USE TOOLING API
Unlocked Packages are more like an advanced form of Managed Packages, not Unmanaged Packages. Many of the same differences exist for Unlocked Packages and Managed Packages as compared to Unmanaged Packages. Upgrade Components Unlocked Packages can be upgraded, like Managed Packages. Unmanaged
Read More
If you’re anything like me, creating parent and child records in Apex is something that has to be done on a pretty regular basis. This blog post is one I’ve had on the list for a while, but it came upon the
Read More
When I execute the following code You receive the following error:Execution Failed. System.TypeException: Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce chunking. but after execution of this script: everything goes smoothly. This is because
Read More
In this article, I would like to talk about one specific real-world scenario. Recently, we have been working on the investment platform build on top of Salesforce for one of our clients. At some point, we had an idea of collecting leads
Read More