SALESFORCE ROADMAP
Salesforce Admin
- Objects
- Fields and Relationships
- Validation Rules
- Page and Layouts
Process Builder:
It is a point-and-click tool that lets you easily automate if/then business processes and see a graphical representation of your process as you build.
- Create/Update Records
- Send Emails
- Call other Process Builder
Apex Class:
It is a strongly typed, object-oriented programming language for building SaaS and CRM.
Similar Syntax as Java
public class ApexClass{
public static void main(){
// code here
}
}
Features of APEX Class:
- Case-Insensitive Language
- Perform DML Operations like Insert, Update, and Delete on Salesforce Object records.
- Query sObject records using SOQL(Salesforce Object Query Language), SOSL(Salesforce Object Search Language)
- Salesforce Object can be used as a Datatype.
Contact contact = new Contact()
SOQL:
- It is used to search your organisation’s salesforce data for specific information.
- It is similar to SELECT Statement in the widely used SQL but designed specifically for Salesforce data.
SELECT Id, Name from Account WHERE NAME="Salesforce"
SOSL:
- Use it to construct Text-Based Search Queries against the search index.
- Use it when you don’t know where the data resides.
FIND {Salesforce} IN Name RETURNING Account
APEX Trigger:
It provides an option to perform Action before and after the EVENTS to record in Salesforce, such as Insertion, Deletion and Updation.
trigger TriggerName on ObjectName(trigger_events){
//code block
}
Types of Events
- Before Insert
- After Insert
- Before Delete
- After Delete
- Before Update
- After Update
Lightweight Web Component[LWC]:
AURA component is also used for frontend but LWC is Enough
- It is a framework for the front end, developed on modern web standards.
- It is built using native HTML and javascript.
- Here we have HTML, js, config and CSS
lwc
|____lwc_Component
|____|____lwc_Component.html
|____|____lwc_Component.js
|____|____lwc_Component.js-meta.xml
|____|____lwc_Component.css
LWC File Code example
HTML
<template>
<lightning-card title={myTitle}>
<p>
This is my First Lightning Component
</p>
</lightning-card>
</template>
Javascript
import { LightningElement } from 'lwc';
export default class MyFirstLwc extends LightningElement {
myTitle = "Salesforce_Noob"
}
Meta Config
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__RecordPage</target>
</targets>
</LightningComponentBundle>
CSS
input {color: blue;}