How to Get 18 Digit Salesforce Id in Report

How to Get 18 Digit Salesforce Id in Report

As a Salesforce system administrator, I recently created a custom report to pull out the IDs of account and contact records from our Salesforce org, but there was an issue fetching the IDs of the records. The IDs of records are generally 18 digits, but the report data only gave 15-digit IDs of records. As … Read more >>>

How to Convert String to ID in Salesforce Apex

Convert and add list of string to set of ID in Salesforce Apex

While working on a Salesforce development project, I was debugging an Apex class that was supposed to update an account record based on its ID, but I kept encountering an “Invalid ID” error. Then, I tested and validated a string conversion to an ID type in the developer console to ensure the conversion logic worked … Read more >>>

How to Create Junction Object in Salesforce

What is Junction Object in Salesforce

I worked as a Salesforce admin for an organization that manages multiple projects. The organization’s multiple teams often work on several projects at the same time. However, each project may involve many teams working on it. Recently, I was required to track the activity of teams that are currently working on a specific project. To … Read more >>>

Create and Set Up Web-to-Lead in Salesforce

web to lead

Our organization uses Salesforce as its primary CRM tool, and in that, we use it to create lead records manually from the Lead object. The sales team struggled to create multiple lead records daily, which distracted them from focusing on important leads and related tasks. Later, we decided to allow our customers to fill in the lead fields … Read more >>>

How to Create Products in Salesforce

Add New Products in Salesforce

While working with an organization that uses Salesforce, I was assigned the task of creating products in the Salesforce org. The sales team wanted to add different items to opportunities, but before that, we had to set them up as Products in Salesforce. In Salesforce, we can add products manually from the UI of the … Read more >>>

Salesforce Formula to Get Last Day of The Month

Salesforce Formula to Get Last Day of the Month

In Salesforce, we sometimes need to determine the last day of a month based on a given date. For example, if a campaign has an End Date of 21st August 2025, we may want to know the 31st August 2025 (the last day of that month). Salesforce does not provide a standard field to display … Read more >>>

Salesforce Quote | How to Create a Quote in Salesforce

quote object in salesforce

While working as a Sales representative for an organization that uses Salesforce to manage its Sales and CRM processes, one potential customer reached out to me to discuss subscribing to our software solution, which includes both licenses and implementation services. After the discussion, I had to send him a quotation for how much the software … Read more >>>

Variables and Data Types in Salesforce Apex

Variables and Data Types in Salesforce Apex

In Salesforce, Apex is a programming language used to work with the UI and data model in the org. Apex is designed to solve complex business logic that we cannot complete using a declarative approach. In this tutorial, I will explain variables and data types in Salesforce Apex, as well as various data types and … Read more >>>

How to Get Current Datetime in Apex Salesforce

How to get my correct current local time in Apex

The organization where I work as a Salesforce developer has a global Salesforce implementation with users in multiple time zones. When scheduling tasks or reminders, it’s crucial to ensure that each user creates these events at the correct local time. When a user logs in to Salesforce, the system must display the current time and … Read more >>>

Convert a String to an Integer using Apex in Salesforce

Salesforce apex convert string to integer

Recently, while building a custom class for user input in my Salesforce org, where I was customizing the fields for the Contact object, I noticed a custom field ‘age’ in the contact that stores the data in string format. I had to convert this string data into an integer to make it convenient to validate … Read more >>>