01 Apex Trigger & Test Class Scenario | Before Insert | Populate Rating as Hot on Account Creation

  Рет қаралды 35,418

Sanjay Gupta Tech School

Sanjay Gupta Tech School

Күн бұрын

Пікірлер: 34
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Udemy : Enroll Salesforce Flow Builder Masterclass: kadge.io/flowbuilder Udemy : Enroll Salesforce Admin Certification Masterclass : kadge.io/admin201 Udemy : Enroll Salesforce PD1 Certification Masterclass : kadge.io/pd1 For Instructor Led Training Email: sanjaygupta.techschool@gmail.com or Visit: studysalesforce.com/ Connect with Sanjay Gupta: Linkedin: www.linkedin.com/in/sanjay-gupta-bb2a79bb/
@patillalit9630
@patillalit9630 2 жыл бұрын
Sir i like your teaching method in a simple way
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Thanks brother 🙏
@pedroprada1
@pedroprada1 Жыл бұрын
Thank you Sanjay... these use case series is exactly what I needed!.... amazing!
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool Жыл бұрын
Glad it was helpful!
@skrspeaks9455
@skrspeaks9455 2 жыл бұрын
Very informative and much helpful, Thank you so much brother
@sathishbatta6781
@sathishbatta6781 2 жыл бұрын
Hi Sanjay, Very informative and much helpful, Thank you so much🤝🥰
@SeemaSeema-dk6ty
@SeemaSeema-dk6ty 2 жыл бұрын
Super ...teaching sir thank you so much sir. Please Make more scenarios useful for 2 years experience sir...
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Thanks Seema!
@Kings238
@Kings238 Жыл бұрын
Thank you Sanjay Sir 🥰🥰🥰
@thotanalini2968
@thotanalini2968 2 жыл бұрын
Just awesome teaching ...Thank you so much!!
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Thanks for appreciating 🙏
@sguha7850
@sguha7850 2 жыл бұрын
Very nicely explained. Please make more videos on using multiple List, Set & Map.
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Sure will do more videos.
@rajeshk1572
@rajeshk1572 2 жыл бұрын
Thank you for Videos Sir
@suyash3402
@suyash3402 2 жыл бұрын
Sir can you make a group in Discord social platform were the subscribers can discuss all their doubts........the teaching method of yours is in simple way and best
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Yes soon will be creating a telegram channel for the same.
@meghajha7807
@meghajha7807 2 жыл бұрын
Thanks a lot Sir
@rashmilodhi8238
@rashmilodhi8238 2 жыл бұрын
Thnk you sir Pls make more vedios on test class
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Uploading daily.
@Hrtmotivation
@Hrtmotivation Жыл бұрын
sir can you please make more videos on trigger and test class for practice.............
@strykergamer6852
@strykergamer6852 3 ай бұрын
Hii sir , I had one doubt . The record get read only mode while updating the same record in after trigger....us this is correct Thanks
@harshaljiwtode
@harshaljiwtode Жыл бұрын
If I add something like else condition right now in IF condition there rating is 'Hot' and if I add in else the rating should be cold Then how can we do that
@anshikaraj4908
@anshikaraj4908 Жыл бұрын
Hello sir. How does the test class knows which Apex class and methods have to be tested? We are not calling our main Apex class and methods in the code then how are they being covered?
@mchan9424
@mchan9424 Жыл бұрын
When u perform the insert operation the class will be called automatically, so u have to match the test class logic with Apex class logic so that it will be called and buisness logic will be executed
@chithraprakash2271
@chithraprakash2271 2 жыл бұрын
I am getting waitingjobpage in my console log and the update is not happening in the related record when I update the field in the user record. Can you please upload video about this solution?
@soyalahimad1484
@soyalahimad1484 Жыл бұрын
Hi Sir,, getting below error while executing test class,,, System.ListException: Before Insert or Upsert list must not have two identically equal elements
@RelatableGuru
@RelatableGuru Жыл бұрын
what if i don't know the basics of Test class yiu should also tell about basics
@rajkumaryadav2556
@rajkumaryadav2556 2 жыл бұрын
This content is for Salesforce admin?? Or not
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Salesforce developer
@rajkumaryadav2556
@rajkumaryadav2556 2 жыл бұрын
Thank you for the reply Sir.. I am new from non IT background.. Having an experience of 8 yrs.. Wants to join as Salesforce admin.. Kindly suggest which free content should I watch to learn Salesforce Administration. 🙏🙇
@srivastavav88
@srivastavav88 2 жыл бұрын
Sir plz scenario base questions on Apex trigger and lwc also
@SanjayGuptaTechSchool
@SanjayGuptaTechSchool 2 жыл бұрын
Started with trigger after that will upload lwx ones.
@rjaiswal1047
@rjaiswal1047 3 ай бұрын
Trigger : trigger AccountTrigger on Account (before insert) { if (Trigger.isBefore && Trigger.isInsert) { AccountTriggerHandler.CheckIndustry(Trigger.new); } } Handler Class : public class AccountTriggerHandler { public static void CheckIndustry(List accList){ for(Account acc : accList){ if(acc.Industry == 'Media' || acc.Industry == 'Energy'){ acc.Rating = 'Hot'; } } } }
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 21 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 49 МЛН
10 Udemy Courses Every Developer SHOULD Own (NOT just coding)
19:53
Travis Media
Рет қаралды 904 М.
«Если 50 детей не рожу - ничего не добился»
1:26:17
Саша Сулим
Рет қаралды 1,8 МЛН
Basic of Salesforce Apex Triggers
20:04
Salesforce Apex Hours
Рет қаралды 1,7 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49