Episode 13 : RollUp Summary Trigger for Lookup Relationship
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
 As we all know we can use roll-up summary field logic only for the master-detail relationship, but in case you have the business requirement to implement the same logic for lookup relationship then you have to think of an alternative way to cater to the requirement, there can be multiple ways to implement but in this blog, we will use a trigger to implement roll-up summary field logic. So before wasting any time, let's get started.? Read till the end to know the bonus tip. Use Case Example : There are two objects one is Account and another object is Contact, as you all know Account is ..read more
Visit website
Episode 12:Relationship Queries in Apex -Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog, we will deep dive into the concept of relationship queries. So Before wasting any time, let's let started.? Most of the time we need to query the data from more than one standard or custom object at a time i.e we need to traverse either from parent to child or from child to parent objects. SOQL (Salesforce Object Query Language) provides us the syntax to write these queries which are called the  Relationship Queries. We can visualize the Relationship Queries same as Joins in SQL. Note: If you are using multiple objects in the same query to fetch the data, always remember tho ..read more
Visit website
Episode 11:Sharing the Record using Apex in Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog, we will learn about sharing the records programmatically using the apex code. But the question here arises is why do we need apex sharing when we have the sharing rules to provide additional access of records to users in salesforce. There are certain complex business requirements where sharing rules will not work, in those scenarios, we will use apex sharing using code. Let's take one of the use cases of those scenarios and understand how it works. For Example, you want to share the custom object "CompetencyCourse__c with the Employee. Let's consider that every Compet ..read more
Visit website
Episode-10: Salesforce Security Model
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
  Security is always crucial to any organization which cannot be compromised at any level. Therefore understanding the security model in salesforce is very significant for the admin as well as for the developers. The Salesforce Security model is basically classified into 3 levels: 1.Object level Security 2.Field level Security. 3.Record level Security. Before diving into it we must also understand the organization level access to the users. As an admin, you can create the users and allow them to log in to the org from the set of IP ranges and log in hours you define for them. By defau ..read more
Visit website
Episode-9 Getter and Setter Methods in Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog, we will learn about using getter and setter methods in the apex controller class. Before wasting any time lets get started? Getter Method is used to pass data from the apex controller class to Visualforce Page and Setter Method is used to set the value back to the controller variable.  Let's understand this concept using an example scenario. The user wants to display the value entered in the text box after clicking on the Display button on the VF page. So, In this case, when the user enters the value in the input box the value will be passed from the Visualforce Page t ..read more
Visit website
Episode -8 Frequently Asked Interview Questions on Batch Apex in Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
  In this blog, we will have insights about the interview questions you must prepare for the batch apex topic in salesforce. Before reading this blog I will recommend you, read my previous blog on the batch apex to understand the concepts better. Below is the link for it: Batch Apex Example in Salesforce Without wasting time, let's get started.? 1. What is the use of the Database. Stateful interface in Batch Apex? As you know the execution of the batch apex job is considered to be a discrete transaction. For Example, if you have 1000 records to process and you have mentioned the b ..read more
Visit website
Episode 7-Batch Apex Example in Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog, we will understand why and how to write a batch apex by taking an example. Without wasting any time lets get started ?. WHY Use Batch Apex? Let's say you have 1 million records to process if you use normal SOQL query in your apex code, it will run out of the governor's limits and your code will throw an exception that cannot be handled. Here the Batch Apex which rescues and solves your problem. Batch Apex is an apex class that implements Database. Batchable  Interface and have three methods Start(),Execute() and finish(). We will see this methods in detail in our examp ..read more
Visit website
Episode 6-Asynchronous Apex-Future vs Queueable vs Batch Apex in Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog, we will learn about Asynchronous Apex and the comparison between its types ie.  Future Methods, Batch Apex, and Queueable Apex. After reading the blog you will be able to decide when and how to use them. Before wasting time lets get started.? Asynchronous Apex Asynchronous means process which runs in the background without any user inputs or intervention. As Salesforce has the multi-tenant architecture, using resources efficiently is always the big challenge. Therefore we have the concept of governor limits which ensure no one monopolizes the usage of resources. But som ..read more
Visit website
Episode 5-The Complete Guide on Future Methods in Salesforce
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog, we will have insights about future methods in Salesforce. This blog will be the complete guide blog for Future Methods. Before Wasting time let's get started.? Future Method: Future method is the method that runs asynchronously i.e it runs in a separate thread in the background later when the resources become available. These methods are annotated with the @future keyword. The advantage of using future methods is users will not get blocked from performing other operations or processes. The future method has high governor limits in some cases like total n ..read more
Visit website
Episode 4-Conceptual Questions on Apex Triggers
Salesforce Developer Beginner Series
by Meenal Sankhla
3y ago
In this blog we will have insights about the questions which are conceptual and often been asked in Interviews. I would recommend you to go through by earlier blog on Trigger so that your concepts are clear for this blog.Read till the end to know the Bonus Tip.Before wasting time let's get started?. Q.1 Why Trigger.newMap cannot be used in Before Insert Trigger Event? In Before Insert Event , the Trigger.newMap will always be null because before context records are not  yet saved to the database hence the ids of these records are not generated yet resulting in the null value ..read more
Visit website

Follow Salesforce Developer Beginner Series on FeedSpot

Continue with Google
Continue with Apple
OR