Salesforce Makes Sense
Salesforce Makes Sense
  • 300
  • 531 631
Apex Triggers | Chapter 90 | Salesforce Developer Masterclass
If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here
ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html
To ensure a smooth learning experience,
I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey.
30 Scenario Based Questions:
ua-cam.com/play/PLEKSN4V4WEnIUhgsvAGkT2MZ2JbJtb2KQ.html
The Complete Administrator Course
ua-cam.com/play/PLEKSN4V4WEnLk4FUYHkfUlNbRynwz5cU4.html
Learn Salesforce in Bytes - Short videos on Salesforce features
ua-cam.com/play/PLEKSN4V4WEnIxdPKa-ZqtWelq65CdR3wH.html
Learn Salesforce With Me - Topic based Explanatory Videos
ua-cam.com/play/PLEKSN4V4WEnLnoTxyKUy6mFcBwSnKDa6q.html
65 Salesforce Interview Questions:
ua-cam.com/play/PLEKSN4V4WEnK93qW9rEQPCM6kLFl99k5u.html
100 Salesforce Interview Questions:
ua-cam.com/play/PLEKSN4V4WEnLYWAAIidiDkbGimVFEqOK1.html
If you would like to acknowledge my efforts and want me to continue training and mentoring, you can support me here.
www.buymeacoffee.com/HimanshuM
For any kind of questions, training & mentorship, queries & concerns,
Feel free to drop a mail at
salesforcemakessense@gmail.com
That’s all from this video. See you in the next video. Till then, breathe long and keep learning :)
Переглядів: 647

Відео

What we learnt from 29 Use Cases | Chapter 89 | Salesforce Developer Masterclass
Переглядів 149День тому
Here's me telling you about everything we now know after completing 29 Use Cases of Apex Methods. If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesfor...
Apex Use Case 29 | Chapter 88 | Salesforce Developer Masterclass
Переглядів 17314 днів тому
Return a list of all record types of a sObject Ensure you have a method that checks for a specific record type and returns the record type id using the Schema class in Salesforce If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will h...
Apex Use Case 28 | Chapter 87 | Salesforce Developer Masterclass
Переглядів 12314 днів тому
Categorize all cases by their origin and return a collection of all the cases If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Scena...
Apex Use Case 27 | Chapter 86 | Salesforce Developer Masterclass
Переглядів 10814 днів тому
Find the unique list of all accounts which are part of the opportunities which have Revenue more than 80K If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your ...
Apex Use Case 26 | Chapter 85 | Salesforce Developer Masterclass
Переглядів 8314 днів тому
Find the queue name from a custom label and assign the created case to the queue If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Sc...
Apex Use Case 25 | Chapter 84 | Salesforce Developer Masterclass
Переглядів 6914 днів тому
Merge lists of tasks assigned to two different queues and return the merged list If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Sc...
Apex Use Case 24 | Chapter 83 | Salesforce Developer Masterclass
Переглядів 8114 днів тому
Write a method to find the highest revenue contributing account If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Scenario Based Ques...
Apex Use Case 23 | Chapter 82 | Salesforce Developer Masterclass
Переглядів 10614 днів тому
Assign a case to the SLA queue if criteria is met. Case Origin should be Web and Priority should be High If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your S...
Apex Use Case 22 | Chapter 81 | Salesforce Developer Masterclass
Переглядів 9514 днів тому
Check if two contacts have the same parent account or not If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Scenario Based Questions:...
Apex Use Case 21 | Chapter 80 | Salesforce Developer Masterclass
Переглядів 10214 днів тому
Check if two leads are same or not by duplicate check. Duplicate check should be based on Name, Email, LeadSource & Industry. If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific dom...
Apex Use Case 20 | Chapter 79 | Salesforce Developer Masterclass
Переглядів 12421 день тому
Find the logged in user’s details. Details should include:User’s timezone, locale and last login date. If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Sal...
Apex Use Case 19 | Chapter 78 | Salesforce Developer Masterclass
Переглядів 12821 день тому
Find the type of object based on the recordId provided using the Schema class. If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Scen...
Apex Use Case 18 | Chapter 77 | Salesforce Developer Masterclass
Переглядів 9321 день тому
Find the last 10 account & contact records created in the last 24 hours If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Scenario Ba...
Apex Use Case 17 | Chapter 76 | Salesforce Developer Masterclass
Переглядів 10221 день тому
Write a method to find min number and max number from a list If you want to continue learning Salesforce (for free), Subscribe Salesforce Makes Sense here ua-cam.com/channels/l-w-QIXwzSdbIDtpIXclcQ.html To ensure a smooth learning experience, I have curated playlists that will help you prepare for interviews, train on specific domains and boost your Salesforce journey. 30 Scenario Based Questio...
Apex Use Case 16 | Chapter 75 | Salesforce Developer Masterclass
Переглядів 9521 день тому
Apex Use Case 16 | Chapter 75 | Salesforce Developer Masterclass
Apex Use Case 15 | Chapter 74 | Salesforce Developer Masterclass
Переглядів 11921 день тому
Apex Use Case 15 | Chapter 74 | Salesforce Developer Masterclass
Apex Use Case 14 | Chapter 73 | Salesforce Developer Masterclass
Переглядів 10721 день тому
Apex Use Case 14 | Chapter 73 | Salesforce Developer Masterclass
Apex Use Case 13 | Chapter 72 | Salesforce Developer Masterclass
Переглядів 12521 день тому
Apex Use Case 13 | Chapter 72 | Salesforce Developer Masterclass
Apex Use Case 12 | Chapter 71 | Salesforce Developer Masterclass
Переглядів 196Місяць тому
Apex Use Case 12 | Chapter 71 | Salesforce Developer Masterclass
Apex Use Case 11 | Chapter 70 | Salesforce Developer Masterclass
Переглядів 180Місяць тому
Apex Use Case 11 | Chapter 70 | Salesforce Developer Masterclass
Apex Use Case 10 | Chapter 69 | Salesforce Developer Masterclass
Переглядів 209Місяць тому
Apex Use Case 10 | Chapter 69 | Salesforce Developer Masterclass
Apex Use Case 9 | Chapter 68 | Salesforce Developer Masterclass
Переглядів 195Місяць тому
Apex Use Case 9 | Chapter 68 | Salesforce Developer Masterclass
Apex Use Case 7 & 8 | Chapter 67 | Salesforce Developer Masterclass
Переглядів 238Місяць тому
Apex Use Case 7 & 8 | Chapter 67 | Salesforce Developer Masterclass
Apex Use Case 6 | Chapter 66 | Salesforce Developer Masterclass
Переглядів 236Місяць тому
Apex Use Case 6 | Chapter 66 | Salesforce Developer Masterclass
Apex Use Case 5 | Chapter 65 | Salesforce Developer Masterclass
Переглядів 211Місяць тому
Apex Use Case 5 | Chapter 65 | Salesforce Developer Masterclass
Apex Use Case 4 | Chapter 64 | Salesforce Developer Masterclass
Переглядів 255Місяць тому
Apex Use Case 4 | Chapter 64 | Salesforce Developer Masterclass
Apex Use Case 3 | Chapter 63 | Salesforce Developer Masterclass
Переглядів 313Місяць тому
Apex Use Case 3 | Chapter 63 | Salesforce Developer Masterclass
Apex Use Case 2 | Chapter 62 | Salesforce Developer Masterclass
Переглядів 305Місяць тому
Apex Use Case 2 | Chapter 62 | Salesforce Developer Masterclass
Apex Use Case 1 | Chapter 61 | Salesforce Developer Masterclass
Переглядів 526Місяць тому
Apex Use Case 1 | Chapter 61 | Salesforce Developer Masterclass

КОМЕНТАРІ

  • @GNarendharReddy
    @GNarendharReddy Годину тому

    trigger conTrigger on Contact { List<string> lastnames = List<string> (); List<string> emails = List<string> (); List<string> phones = List<string> (); for(contact con : trigger.new) { if(con.lastname != NULL) { lastnames.add(con.lastname); } if(con.email != NULL) { emails.add(con.email); } if(con.phone != NULL) { phones.add(con.phone); } } List<Contact> conList = [select id,lastname,email,phone from contact where lastname IN: lastnames AND email IN:emails AND phone IN:phones]; for(contact con : trigger.new) { if(conList.size() >0) { con.adderror('Duplicate Contact'); } } } what about this way>?

  • @GNarendharReddy
    @GNarendharReddy Годину тому

    At LINE 25> taskRecord.ownerId = accIdVsOwnerIdMap.get(opp.accountId); directly can we write like this? instead of inner mapping

  • @GNarendharReddy
    @GNarendharReddy 2 години тому

    trigger accTrigger on Account(after insert) { List<contact> contoInsert = new List<contact> (); for(Account acc: trigger.new) { if(acc.nfield!= null) { for(integer i=1; i<=acc.nfield;i++) { Contact con = new contact(); con.lastname = acc.name + i; con.accountId = acc.id; contoInsert .add(con); } } if(contoInsert .size() >0) { Insert contoInsert ; } }

  • @user-gi7pz6st5u
    @user-gi7pz6st5u День тому

    This guy is super good. Indeed, you 'Make Sense' . Bless you

  • @pankajsaini1044
    @pankajsaini1044 День тому

    sir, first of all thank you so much🙂 , and i have a doubt in my code , here is the code. public static string borrow_book(string Bookname, string PersonName) { for(string searchBook : allmyBook){ if(Bookname == searchBook){ borrowBookRecord.put(bookName,PersonName); //this map will record who borrow and which book. string temp = searchBook; allmyBook.remove(searchBook); <--------- here is the problem return ' here is your book ;)' + temp ; } } return 'Sorry we dont\' have your Book right now :( '; } in this remove() function is giving me error. is it not correct.

  • @jerryraju6293
    @jerryraju6293 День тому

    Hi Bro, im not able to send emails to my clines through salesforce, clients not receiving emails. what could be the reasons....? Deliverability Access Level = All email. May I know the reasons...?

    • @salesforcemakessense
      @salesforcemakessense День тому

      @@jerryraju6293 check Email Logs and see if they are getting bounced or are unverified maybe

    • @jerryraju6293
      @jerryraju6293 День тому

      @@salesforcemakessense where should I check email logs...? Is that deliverability...? Some other place

    • @salesforcemakessense
      @salesforcemakessense День тому

      @@jerryraju6293 search Email Log Files in quick find and request a log for the specified date.

  • @Kshirsagar.abhishek
    @Kshirsagar.abhishek День тому

    Basically understood how to read salesforce documentation and use case

  • @rishabhgupta7636
    @rishabhgupta7636 2 дні тому

    Hi Himanshu! In use case 21, you implemented "for(Con : newRecords)" I tried the same way but getting duplicate variable error. Also, in line number 71 we're just putting accountId as a key and Account as value. Correct?

    • @salesforcemakessense
      @salesforcemakessense День тому

      @@rishabhgupta7636 you must have declared the same variable twice. Check the line number thats giving the duplicate error and search what all occurrences are there. That should give you a hint

  • @mukeshbanjara5907
    @mukeshbanjara5907 2 дні тому

    thanks himanshu i was able to do a chalange

  • @madhurimogal7367
    @madhurimogal7367 2 дні тому

    Thanks for this video can you please make video pn custome metadata and settings?

  • @GNarendharReddy
    @GNarendharReddy 2 дні тому

    public class recordTypes { public static List<recordtype> checkRecordType(String type) { List<recordtype> rT = [select id,name,SobjectType from recordtype where SobjectType =:type]; return rT; } } What about this code?

  • @pankajsaini1044
    @pankajsaini1044 2 дні тому

    sir , what if there is more than one time in a single statement. example :-Welcome to Salesforce Makes Sense .this is salesforce make sense channel. what we have to do in this scenario. ????

    • @salesforcemakessense
      @salesforcemakessense 2 дні тому

      @@pankajsaini1044 in that case if you want all occurrences, you need to explore the Pattern class along with regex to match the string and find the occurrence.

    • @pankajsaini1044
      @pankajsaini1044 День тому

      @@salesforcemakessense sir can you make video on that "Pattern class along with regex " if possible that will help a lot Thank you sir🙏

    • @salesforcemakessense
      @salesforcemakessense День тому

      @@pankajsaini1044 I will plan it out and release soon.

  • @p_Arm6119
    @p_Arm6119 3 дні тому

    What about CPU time out limit If you enter 10000 record ?

    • @salesforcemakessense
      @salesforcemakessense 3 дні тому

      @@p_Arm6119 in such scenarios please go woth batch apex instead when you know the volume is high

  • @The_outspoken_Indian
    @The_outspoken_Indian 3 дні тому

    "Boil the pan and heat some milk"😂😂😂 Btw the concept is explained well. Thanks

  • @svanik_nithya2938
    @svanik_nithya2938 4 дні тому

    Were is resource section? as you said assignment is coming up with this course

  • @rajdwahraknath5615
    @rajdwahraknath5615 4 дні тому

    Hi himanshu, pls do make a video on roll-up summary trigger, will be useful for cracking interviews🙏

    • @salesforcemakessense
      @salesforcemakessense 4 дні тому

      @@rajdwahraknath5615 sure will plan it

    • @rajdwahraknath5615
      @rajdwahraknath5615 4 дні тому

      @@salesforcemakessense thank you himanshu pls make it fast bro because normal triggers are not being asked in any interviews

  • @mukeshbanjara5907
    @mukeshbanjara5907 5 днів тому

    Please Make the videos on LWC

  • @rockyomkar41
    @rockyomkar41 5 днів тому

    i cant stop laughing while seeing the usecase 25😄😄

  • @ghousedada8399
    @ghousedada8399 5 днів тому

    trigger CreateNewContacts on Account (after insert, after update) { List<Contact> conList = new List<Contact>(); if (trigger.isAfter && trigger.isInsert) { for (Account ac : trigger.new) { if (ac.NumberOfEmployees != null && ac.NumberOfEmployees > 0) { for (Integer i = 0; i < ac.NumberOfEmployees ; i++) { Contact co = new Contact(); co.LastName = ac.Name; co.AccountId = ac.Id; conList.add(co); } } } if (!conList.isEmpty()) { insert conList; } } if (trigger.isAfter && trigger.isUpdate) { for (Account acc : trigger.new) { Integer newContactCount = acc.NumberOfEmployees != null ? acc.NumberOfEmployees : 0; Integer oldContactCount = trigger.oldMap.get(acc.Id).NumberOfEmployees != null ? trigger.oldMap.get(acc.Id).NumberOfEmployees : 0; if (newContactCount > oldContactCount) { for (Integer i = 0; i < (newContactCount - oldContactCount); i++) { Contact c = new Contact(); c.LastName = acc.Name; c.AccountId = acc.Id; conList.add(c); } } } if (!conList.isEmpty()) { insert conList; } } }

  • @svanik_nithya2938
    @svanik_nithya2938 6 днів тому

    Were can i find salesforce Documentation?

    • @salesforcemakessense
      @salesforcemakessense 6 днів тому

      @@svanik_nithya2938 developers.salesforce.com or simply search for Salesforce Documentation and you should see it

  • @Learner830
    @Learner830 6 днів тому

    Please begin the LWC classes as soon as possible, sir.

  • @aakashjain8356
    @aakashjain8356 7 днів тому

    do you have any video in which you are explaining about implements keyword and how to use it?

  • @abhaypatle9380
    @abhaypatle9380 8 днів тому

    By default Apex classes runs on system mode, which means that the classes will not run in any of the user context and since we haven’t provide any sharing hence that would be equivalent to without sharing Ans: Without Sharing

  • @svanik_nithya2938
    @svanik_nithya2938 8 днів тому

    Firstly, thank you for making such videos which are very clear

    • @salesforcemakessense
      @salesforcemakessense 8 днів тому

      @@svanik_nithya2938 good to know the videos are clear and easily understandable

  • @divyanshusingh4256
    @divyanshusingh4256 8 днів тому

    Sir ye padh chuka hu , aur question karveye trigger k . And batch apex k bhi..

  • @svanik_nithya2938
    @svanik_nithya2938 8 днів тому

    Both the relationships Handles One To Many?

  • @svanik_nithya2938
    @svanik_nithya2938 9 днів тому

    Picture is clear.

  • @svanik_nithya2938
    @svanik_nithya2938 9 днів тому

    The way you explain with an example is superb 👏

  • @ghousedada8399
    @ghousedada8399 9 днів тому

    Super scenarios bro. Thank you so much.

  • @svanik_nithya2938
    @svanik_nithya2938 9 днів тому

    completed admin Videos ,Thank you🙂

    • @salesforcemakessense
      @salesforcemakessense 9 днів тому

      @@svanik_nithya2938 awesome, hope you learnt a lot of new things 🙂

  • @project-b6o
    @project-b6o 9 днів тому

    Excellent teaching

  • @maheshbabu-te8sk
    @maheshbabu-te8sk 10 днів тому

    Thanks for adding all in one

  • @nitinsable5329
    @nitinsable5329 10 днів тому

    Is it combination of your all videos?

  • @riteshtiwari1446
    @riteshtiwari1446 10 днів тому

    Thanks bro for your contribution

  • @jagdish361
    @jagdish361 10 днів тому

    It's hitting governor limits .what if I have more than 50000 records

  • @awesomekj5812
    @awesomekj5812 11 днів тому

    Very good summary video ...appreciate the work. Thanks

  • @rajeshbandaruu
    @rajeshbandaruu 11 днів тому

    Scheme makes more sense

  • @nasiracreations9298
    @nasiracreations9298 11 днів тому

    Thank you so much

  • @svanik_nithya2938
    @svanik_nithya2938 11 днів тому

    in this video the voice is changed from 4.05 Sec

    • @salesforcemakessense
      @salesforcemakessense 11 днів тому

      @@svanik_nithya2938 not sure why and how but you can skip this video as process builders are now deprecated

    • @svanik_nithya2938
      @svanik_nithya2938 11 днів тому

      @@salesforcemakessense ohk But its Good .

  • @naveenyalamala
    @naveenyalamala 12 днів тому

    Schema makes more sense

  • @SachinM1985
    @SachinM1985 12 днів тому

    Schema make sense 😊

  • @naveenyalamala
    @naveenyalamala 12 днів тому

    nobody will remember: - your salary 💸 - how "busy you were" 💻 - how many hours you worked ⏰ people will remember: you for writing SOQL and DML inside the loop

  • @naveenyalamala
    @naveenyalamala 13 днів тому

    Hi Sir , I didn't find your LinkedIn profile

  • @Dante-yd9ou
    @Dante-yd9ou 13 днів тому

    I have implemented this code in my org but and there are no errors, its almost the same code as shown in the video, but when quering on the Contactshare records to see the manual record is created or not , it is not showing.

    • @salesforcemakessense
      @salesforcemakessense 13 днів тому

      @@Dante-yd9ou i would recommend adding debug logs to check if insertion is happening or not.

    • @Dante-yd9ou
      @Dante-yd9ou 11 днів тому

      @@salesforcemakessense Hi, thank you for replying, I tried debug statements in the code and below is the error even the the group Id that I am assigning to the ContactShare object is correct. ------------------------------------------------------------------ |DEBUG|exception while inserting System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: unknown (invalid user or group: 0055j000001mf22): |DEBUG|exception while inserting System.DmlException: Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []

  • @jobshorts5079
    @jobshorts5079 14 днів тому

    Hey can you explain this question in your next video ……this question is asked to me in TCS exam ……they told me to write APEX code for this question QNS: You need to create 2 Custom Objects . Object - 1 : Tech_Firm__c Fields : Max_Salary__c (Currency) , Min_Salary__c (Currency) Object - 2 : Employee__c Fields : Salary__c (Currency) , Tech_Firm__c (Lookup) wants to keep track of the highest and lowest salaries paid by each of its tech firms to gain insights into how salaries are distributed across different parts of the organization and take appropriate actions to ensure that employee salaries are fair and equitable.

    • @salesforcemakessense
      @salesforcemakessense 14 днів тому

      @@jobshorts5079 sure I will share something around it soon.

    • @jobshorts5079
      @jobshorts5079 14 днів тому

      @@salesforcemakessense thank you ☺️

    • @naveenyalamala
      @naveenyalamala 12 днів тому

      You can accomplish this by using Apex Trigger with SOQL queries.

    • @jobshorts5079
      @jobshorts5079 12 днів тому

      @@naveenyalamala yes but they want apex code not trigger

    • @salesforcemakessense
      @salesforcemakessense 12 днів тому

      @@jobshorts5079 apex triggers are part of apex code 😅