Salesforce Apex Interview Questions & Answers

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 24

  • @hemakiran5968
    @hemakiran5968 3 หลายเดือนก่อน

    1. 7 Trigger events - Before : insert , update, delete , after : insert, update ,delete , undelete
    2. 5 times trigger will be called ( 5 * 200 = 1000 records)
    3. Yes, we can make call outs from triggers using aysnchronous apex(future methods).
    4. using addError() method we can show the error message on the UI.

  • @dikshagautam7915
    @dikshagautam7915 2 หลายเดือนก่อน

    What an informative video 👏👏

  • @ramkumarkurmi2326
    @ramkumarkurmi2326 4 หลายเดือนก่อน +1

    Sir 🙏 Thanks for sharing it's very helpful for everyone,
    Can you pls share the videos admin part for the interview.

  • @darshanshanbhag7332
    @darshanshanbhag7332 3 หลายเดือนก่อน

    Ankit, I sincerely appreciate the fantastic series you provided on interview preparation. Could you please create a playlist on writing triggers, including interview questions on triggers and the trigger framework, along with an admin interview preparation playlist?😊

  • @Himanshukumar-pw4ys
    @Himanshukumar-pw4ys 2 หลายเดือนก่อน +1

    Q1. What are the different types of Trigger events?
    Ans 1. Before Insert, Before Update, Before Delete, After Insert, After Update, After Delete, After Undelete.
    Q2. How many times will a trigger be executed when inserting 1000 records?
    Ans 2. 5 times.
    Q3. Can a trigger make a call to the apex callout method?
    Ans 3. Yes, but use the @future(callout=true) to make asynchronous callouts from triggers.
    Q4. How to show the error messages on the page or the field using Trigger?
    Ans 4. use addError() method to show the error or page or the field.

  • @ranjitabehera9333
    @ranjitabehera9333 3 หลายเดือนก่อน

    Hi Ankit, Really you are doing an incrediable job. Just one thing want to add on , when you are describing any question like Recursion in Trigger, please try to give an example of code so that it would be easy for us to understand who are not pro in salesforce. Again Thank you so much.

  • @TrzcinaOZW
    @TrzcinaOZW 4 หลายเดือนก่อน +1

    Hi Ankit, thank you for a valuable video with plenty of useful information. I'd like to rise to what you've said in 15:10 about CRU of Custom Metadata Types from apex. I've had an interview in the past and had such a question: Are DML operations allowed with Custom Metadata Types? The answer was no. I think the Create / Update operation is considered as deployment, not a insert/update. Could you give a comment on how you understand CRU operations from apex for Custom Metadata Types?
    Thank you again for your excellent work and for providing such a useful resource for Salesforce dev interview preparation.

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  3 หลายเดือนก่อน +2

      from insert/update i mean deployment of metadata only using deploy container class.

  • @raayevenkatesh
    @raayevenkatesh 7 วันที่ผ่านมา

    Governor Limits
    SOQL Limits:
    100 queries per transaction.
    50,000 records total.
    2000 records per query.
    SOSL Limits:
    20 SOSL queries per transaction.
    2000 records per query.
    Can search across 20 objects per query and 200 fields per object.

  • @kavithaalluri7793
    @kavithaalluri7793 4 หลายเดือนก่อน +1

    hi Sir, please upload interview questions related to flows

  • @rajubandari9721
    @rajubandari9721 3 หลายเดือนก่อน

    Make interview questions on flow builder

  • @manasareddy2672
    @manasareddy2672 4 หลายเดือนก่อน

    Hi ankit,
    custom validation errors can also be done using flows right ?
    pls crct me if im wrong

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  4 หลายเดือนก่อน +1

      Yes, After Winter ’24 release, you can now create a complex validation rule that was previously unachievable using a standard validation rule. This can be accomplished through the use of before-save flow, combined with the newly introduced custom error

    • @manasareddy2672
      @manasareddy2672 3 หลายเดือนก่อน

      ​@@TechJourneyWithAnkityes ankit..thanks