List Collection in Salesforce Apex [With Various Methods]

Collections in Salesforce Apex

While working as a Salesforce developer, I was tasked with building an Apex class to automate a customer support process. The requirement was to retrieve all open cases for a specific customer to see if their status was “New” or “In Progress.” To store multiple records in Salesforce Apex, we use a collection that stores … Read more >>>

How to Replace String in Salesforce Apex

How to replace two characters of a String in Salesforce apex

While working as a Salesforce admin for an organization that tracks leads from multiple sources, I noticed inconsistencies in the Lead Source data. Instead of the web, it was entered as a website, so I had to replace the current lead source value with the web. To do this, I used the built-in Salesforce Apex … Read more >>>

How to Convert Integer Data Type to Decimal in Salesforce Apex

How to Convert Integer Data Type to Decimal in Salesforce Apex

While working on Apex in Salesforce, I created a field that stores the total price of products as an Integer representing the amount in rupees. To display this value to the user, I converted it into a decimal format representing dollars. Here, I will explain why we need to convert integers to decimals. Then, using … Read more >>>

How to Convert Integer Data Type to String in Salesforce Apex

How to Convert Integer Data Type to String in Salesforce Apex

While working on the Account object, I created the Account ID field using the Integer data type. However, the sales team wanted to store the account ID in alphanumeric form, which was not possible with the integer data type. I was required to convert the Integer data type to a string in Salesforce Apex. In … Read more >>>

How to Create Custom Buttons in Salesforce

Create Detail Page Button in Salesforce

I worked as an admin for a company that used Salesforce. The sales team wanted an easy way to search Google for information related to their accounts without having to open a new browser tab. To simplify their task, I decided to add a custom button to the account object that redirects to Google and … Read more >>>

How to Convert String to Datetime in Salesforce Apex

Converted datetime from string in Salesforce apex

In our Salesforce org, we have a custom form field where users manually enter the date and time for follow-up meetings. The input is captured as a string from a custom form field. We need to convert this string input into a Datetime format so that we can create a follow-up event in the system … Read more >>>

How to Convert ID to String in Salesforce Apex

Convert Id to string in Salesforce apex

While working as a Salesforce developer, I recently converted data types for some object fields. There was a custom object called User_Activity_c. This object has a field Related_record_c to store the record’s ID associated with the activity. Since the Related_Record__c field is a text field, I had to convert the ID type to a string … Read more >>>

50 Salesforce Admin Interview Questions and Answers

Salesforce Admin Interview Questions and Answers

The role of a Salesforce Admin is crucial in managing and optimizing a company’s Customer Relationship Management (CRM) system. In this tutorial, I have compiled 50 key Salesforce admin interview questions and answers to enhance one’s preparation for a Salesforce Admin position. These questions cover a range of expertise levels, from basic to advanced, providing insight … Read more >>>

Create Recurring Task Via Flow in Salesforce

Record trigger flow for recurring task in Salesforce

While working as a Salesforce system admin, I got a requirement from the Sales team to automate task creation for potential clients (opportunity). The sales representative had a meeting with the client, and after the meeting, they needed to follow up every two weeks to check on the client’s progress in the decision-making process until … Read more >>>

4 Hours Live Workshop

BUILD YOUR AI CRM ASSISTANT WITH AGENTFORCE

Build a Smart AI-Powered CRM Assistant with Agentforce in Just 4 Hours—Hands-On, Live, and Ready for Real-World Use!

27 August 2026 | 7 PM to 11 PM IST | 9:30 AM to 1:30 PM EST

Early Bird: $9 – First 15 Seats

Agentforce in Salesforce

DOWNLOAD FREE AGENTFORCE EBOOK

Start with AgentForce in Salesforce. Create your first agent and deploy to your Salesforce Org.