Category: Salesforce
How to avoid the recursive triggers in Salesforce
Recursive Trigger:- When a trigger is calling itself again and again, this situation is called a recursive trigger, or we can say that a recursive trigger performs the same process multiple times. If we don’t handle this recursive trigger, it
What is National Producer Number?
National Producer Number or NPN is a type of identifier assigned to individuals or businesses. Nowadays, It has taken place of the license number. NPN is issued or assigned specially to “insurance-related organizations or activities” to keep the track of
How to login to salesforce using session id?
We may also access Salesforce without having to enter a username and password. We may log into Salesforce using the session ID. To log in to salesforce using session-id follow the following steps: Step 1: execute this piece of code
Inheritance in Apex
Inheritance is a feature of OOPS that allows us to inherit the properties or methods of a class. The base class acts as a parent, the class that is inheriting is called the child class. The child class has access
Decorators in Lightning Web Component
The Lightning Web Component has three decorators. @api @track @wire @api: If we want to pass any variable from Parent component to child component then we use @api decorator. To pass data to the child component, we need to define
Custom font in Visualforce Page
We can use custom fonts in the Visualforce page using Salesforce Static Resources. Following are the steps to use custom fonts: In Setup, use the Quick Find box to find Static Resources and create new a resource with ZIP of
Bulk State Transition
The Bulk State Design pattern is the general pattern that executes the bulk of the actions in Apex based on the change of state of one or more records. Bulk transitions increase the code reusability by allowing only records that
What is Schema in Salesforce?
Schema is a namespace provided by salesforce which provides schema metadata information using different methods and classes. ChildRelationship Class This class contains methods to access the child relationship as well as the child sObject for a parent sObject. DataCategory Class
Create Component In LWC and display in salesforce page
Following are the steps to create component in LWC and display in salesforce page: Create Default Search org from VS code. Authorize an Org. Create Lightning web component. After creating the lightning web component it will show the component under