SkillAgentSearch skills...

SalesforceDeveloperTraining

This is special for my students but Every one can be used in order to training purpose. This cannot be used for business purpose or cannot be used for solving business problems. This repo is designed for new learners.

Install / Use

/learn @selcukgoktas/SalesforceDeveloperTraining
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Salesforce Developer Training

Selçuk GÖKTAŞ You can contact Linkedin for Business Inquires

Salesforce Developer Notes

If you are new salesforce Development You can follow the link and start learning topic by topic. This Repository is not related the document below. The document may contain inclass examples and some notes to the students. But this repository contains some critical topics. Both of them is designed to support in class exercises.

Students must be prepared from this repo and document below before attending the courses.

[Developer Notes From simple Apex to Advanced Deployment Topics ] (https://salesforce-consultant-developer.notion.site/Salesforce-Developer-Module-4b6a7600e1cd4c3d8da83a86fc248b0c)

Contents

APEX and APEX TEST

APEX 1 (BusinessToCustommer) - Create Account and Contact Together

We know the person account but we don't prefer to use it in this scenario. So we create an apex class to create account and contact together with the same name.

TEST 1 (BusinessToCustommerTest) - Create Account and Contact Apex Class Test

We have an apex class which name is BusinessToCustommer and we have method to create account and contact together in place of person account. ( without using person account ) . For this test Class we are going to test this apex class.

APEX TRIGGER

Trigger1 - Empty Trigger template

You can use this trigger for every purpose. Just change the related object and use it. It contains switch when expression. It's metadata file make this trigger inactive. If you want to make this activated you should go to the object manager related object and check triggers is active or not. You can also change metadata file to activate trigger before deployment.

Trigger2 - Account Trigger

This is an interview Question for Google Salesforce Developer.

Trigger3 - Account Trigger

v1 - Simple Before update make the account name toUpperCase() v2 - Do the same thing with trigger helper file and add phone field error.

Trigger4 - Lead Trigger

With this trigger we will check the phone field of the Lead record then if it is empty we will create a task to the lead owner. Trigger and Trigger Helper file will handle the job together. We have 2 option with trigger.new and trigger.newMap. So we create 2 method to read the triggered lead records. Then use another method to create task.

Trigger5 - Account Trigger

Empty Trigger template to show the differences between switch on operation type when and if isbefore isafter

Trigger6 - Contact Trigger

If there is no phone on the contact record get phone from related account record and update phone field.

Trigger7 - Opportunity Trigger

Opportunity Stage cannot be set as previous stages. Only one exception. If user has a specific profile he can set previous stage only if stage is close lost..

ASYNC Apex

Async apex has more governor limits. You can work with millions of data some of them. You can check details on the this link

ASYNC1 - Future Method

Async Apex future method example.

ASYNC2 - Queueable Class

Simple Example Template for Queueable Class. You should comment out call functions and paste them into salesforce developer console anonmyous window.

ASYNC3 - Batch Class

Simple Example Template for Batch Class. You should comment out call functions and paste them into salesforce developer console anonmyous window.

ASYNC4 - Schedule Class

Simple Example Template for Schedule Class. You should comment out call functions and paste them into salesforce developer console anonmyous window. CronJob

APEX Security 1 - FLS

This apex has UI on LWC. SECURITY1 named LWC component call this apex class and handler. There is also comment sections to show different security implementations and results. Opportunity Object needs Credit_Card_c field API name. First give permission System Admin. Fill some dummy data to Credit Card field. Then you can check with other users or remove permission then check the results.

APEX Algorithm ( Algo1)

Check the given number is mystical or not. Mystical number is a number where the sum of the individual digits is equals to multiplication of all the digits in the number

REST1 Call another API

You should add remote site setting https://gorest.co.in/ this url to run this apex code. And Call apex class from anonymous window.

Visual Force

Visual Force 1 - Account Contact Create and Delete

Bulk Account and Contact creation with custom apex controller. It contains test code also. All related visualforce page, apex class and test apex classes are prefix with VF1_

Visual Force 1 - Account Contact Create and Delete

Visual Force 2 - Create Billing from Opportunity

After you create this page you can add this as a button on the opportunity record details page. When you click button it will redirect you Visualforce page with Account block. You can update account. Below the page you can see opportunity product list which include in the billing. It contains standard controller with extentions. All related visualforce page, apex classes are prefix with VF2_

Visual Force 2 - Create Billing from Opportunity

Visual Force 3 - Standard List Controller

Bulk update available Standard list Controller visual force page example. All related visualforce page are prefix with VF3_

Visual Force 3 - Standard List Controller

Visual Force 4 - Standard List Controller without Page Redirect

Bulk update available Standard list Controller visual force page example. All related visualforce page are prefix with VF4_

 Visual Force 4 - Standard List Controller without Page Redirect

Visual Force 5 - Visualforce with Javascript

In this example we will use javascript inside the visualforce pages.

Visual Force 5 - Visualforce with Javascript

Visual Force 6 - Visualforce Javascript Math Calculations

Use javascript functions with buttons and make some simple calculations.

Visual Force 6 - Visualforce  Javascript Math Calculations

Visual force - Materializecss Example

This is an example usage of the external CSS and JS file. it includes staticresources.

Visual force - Materializecss Example

Visual force - Calendly External Javascript

This is an example usage of the external JS file. it includes staticresources. Update your calendly url from visualforce page script tag.

Visual force - Calendly External Javascript

Aura Lightning Component

Aura1 - Simple Calculator without Attribute Tag

After deployment you should open AURA1 Application and click preview button. You will see 2 inputbox, you need to write 2 number. Then click the button according to your calculations. There is no any design system. Because of this you can see clean codes.

Aura1 - Simple Calculator without Attribute Tag

Aura2 - Simple Calculator with Attribute Tag

After deployment you should open AURA2 Application and click preview button. You will see 2 inputbox, you need to write 2 number. Then click the button according to your calculations. But this time we will use attribute. There is no any design system. Because of this you can see clean codes.

LWC01 - Hello Component

Aura3 - Simple Calculator with Server Controller

After deployment you should open AURA3 Application and click preview button. You will see 2 inputbox, you need to write 2 number. Then click the button according to your calculations. But this time we will use Server Controller. Apex will do the calculation. There is no any design system. Because of this you can see clean codes.

Aura3 - Simple Calculator with Server Controller

Aura4 - Contact Create with Server Controller and Error Handling.

After deployment you should open AURA4 application and click preview button. You will see contact details. Fill the details and click create contact button. If you make null required field you will see the error on the screen.

Aura4 - Contact Create with Server Controller and Error Handling

Aura5 - Contact Create with Server Controller and Lightning Component Styles

After deployment you should open AURA5 application and click preview button or You can add this component into the lightning page with app builder by drag and drop this component.
You will see contact creation component. Fill the details and click create contact button. If you make null required field you will see the error on the screen. You will see change on the UI this time. We will create our components either Component Library or Lightnin Design System After this component all aura component will have design like that.

![Aura5 - Contact Create with Server Controll

View on GitHub
GitHub Stars35
CategoryProduct
Updated6mo ago
Forks11

Languages

JavaScript

Security Score

72/100

Audited on Oct 1, 2025

No findings