How to Create a unit test for a simple Apex class

Posted by Prem Tiwari | Updated on | in Salesforce.


In this tutorial, I will explain how to create a unit test for a simple Apex class in Salesforce. Follow the below steps to create a simple Test class for Apex Class. Step 1) In …

What is a Salesforce trigger

Posted by Prem Tiwari | Updated on | in Salesforce.


A Salesforce trigger is written in Apex programming. By using the Apex trigger, you can to perform custom actions like insertions, updates, or deletions before and after changes to Salesforce records in your Org. You …

How to skip validation rules when converting a lead

Posted by Prem Tiwari | Updated on | in Salesforce.


Salesforce provides an out-of-the box setting features which allow you to skip validation rules when converting a lead to contact. Follow the below steps to skip validation rules when converting a lead: Step 1) Login …

Share code snippets in chatter and maintain formatting

Posted by Prem Tiwari | Updated on | in Salesforce.


Are you want to share code snippets in chatter and maintain formatting as well, then this tutorial is designed for you. Sales force introduced this feature in Winter 2017 Release but this features is only …

How to Install Salesforce Lightning Inspector

Posted by Prem Tiwari | Updated on | in Salesforce.


Salesforce Lightning Inspector is a developer friendly Google chrome extention, which helps salesforce developers to see the component, Salesforce App performance, Transactions, event log, Actions, and Storage. Related Post: 4 Lightning UI Features You Must …

How to join two custom objects in SOQL

Posted by Prem Tiwari | Updated on | in Salesforce.


In this tutorial, I am going to share how to join two custom objects in SOQL. See the below example of SOQL queries to join two custom objects in sales force. Related Post: Create an …

Create an opportunity when an account is created in sales force

Posted by Prem Tiwari | Updated on | in Salesforce.


If you want to create an opportunity when an account is created in sales force, then you can use the “after trigger” to create opportunity automatically. Below is the example of sales force “after trigger”. …

4 Lightning UI Features You Must Know

Posted by Prem Tiwari | Updated on | in Salesforce.


Hi friends, Hope you are doing good. If you are a Salesforce developer, then keep your close attention in this post as I am going to share top 4 Lightning UI Features You Must Know …

How to schedule an apex class to execute to every 30 minutes

Posted by Prem Tiwari | Updated on | in Salesforce.


We have recently started to share the SalseForce snippets to help of SalseForce developers. If you want to schedule any periodic event in Salesforce, then keep your attention in this tutorial as I am to …