New Batch#100 (10th Nov 2021) - Salesforce Admin + Dev Training (WhatsApp: +91 - 8087988044) :https://t.co/p4F3oeQagK

Salesforce Interview Questions

Salesforce - Interview Questions
Do you have any queries mail me at: srinu@srinusfdc.com

399 comments:

  1. Replies
    1. You Should be feeling Proud for initiating the appreciation

      Delete
    2. Please do post the content soon on webservices!! Waiting since long time

      Delete
  2. good content. looking forward for Class and visual force page. Very well organised.

    ReplyDelete
  3. good work about sales force. this page really helps me

    ReplyDelete
  4. First of all great site to learn SFDC. will be of good help if scenario based questions or posts are introduced as well.

    ReplyDelete
  5. Wow...Awesome site..Thanks Sir.

    ReplyDelete
  6. its really helpful , Awesome site I really enjoyed reading this blog thanks

    ReplyDelete
  7. Very well documented. Appreciate the work :)

    ReplyDelete
  8. Very well organized and helpful Blog!! Thanku

    ReplyDelete
  9. Nice collections of questions!

    ReplyDelete
  10. thank you very much srinu sir

    ReplyDelete
  11. Good Collections... Thank you so much.

    ReplyDelete
  12. Hii , Can you please explain us / elaborate how the vlookup to be used in validation rule for 14th question in Customization Section ?
    Thanks in advance.

    ReplyDelete
    Replies
    1. I thhink answer is wrong, Worlflow field update cannot trigger validation rule

      Delete
    2. After a workflow field update 'System Validations' will fire. unique field will fall under system validation.
      Note: Custom Validations (Validation Rules) won't fire after a workflow rule field update.

      Delete
  13. Easily Understandable Material.....
    Thank you so much

    ReplyDelete
  14. well narrated....
    looking for force.com also.

    ReplyDelete
  15. Thank you very much sir,
    please provide apex and visualforce questions

    ReplyDelete
  16. excellent sir ,,thanks this really helps

    ReplyDelete
  17. really help full for interview. Good work

    ReplyDelete
  18. Good Work srinu.

    Explain few Error related questions and Aswers, it is very helpful in interviews?

    ReplyDelete
  19. can you explain why not using DML operation in constructor

    ReplyDelete
    Replies
    1. DML is insert,delete,update,upsert if we applied insert in constructor it automaticaly loads and perform insert operation with out clicking the insert buttom or call the object in apex call

      Delete
  20. Great work.. The stuff was of great help.. Thank you

    ReplyDelete
  21. Hello YOur blog is very helpful for sfdc beginners, but while reading your blog few of the lines are not visible properly this is due to the text color and background clor, due to this we were unable to read the important topics and exapmles. I hope you will modify it.

    ReplyDelete
  22. very good and very help full, but updating and adding new questions is appreciable

    ReplyDelete
  23. super man every one telling me to read interview quesotions in srinusfdc but i realize that it is very flexible and easy to understand .
    but we want more interview questions and scenarios and also integration and lighting. lighting is more important for crack the interview.

    ReplyDelete
  24. This comment has been removed by a blog administrator.

    ReplyDelete
  25. Hello,

    I just went through your question answers and found that the structure you mentioned for MVC is incorrect. VF is a part of View and Apex classes is a part of controller. Just correct that.

    ReplyDelete
    Replies
    1. Yes, that is correct.
      1. Visualforce page is part of view.
      2. Apex Class is part of controller.

      But, in my explanation I am taking about meta-data (Visualforce Pages, Apex Classes will store in database as meta data files which will present in database),
      you will find 'ApexPage' and 'ApexClass' built in objects also to maintain the information.

      Delete
  26. This comment has been removed by a blog administrator.

    ReplyDelete
  27. @ Harsh did u get material if yes then send me on neeraj2923@gmail.com

    ReplyDelete
  28. Hi Srinu,

    Good work, do you have similar set for development?

    Thanks,
    Vamsi

    ReplyDelete
  29. Hi Srinu
    Please Explain difference B/w singular label and plural label ?


    Thanks

    ReplyDelete
    Replies
    1. Singular Label --> Create > Objects > you will see list of objects (here name of the objects will be from the Sigular Label)
      Plural Label --> If you creating a tab by selecting object automatically tab name will be pulled from plural label of the object.

      Delete
  30. Hi Srini,I am preparing for ADM 201 Do you have ADM 201 Certification questions,If so could you please share with me,My email is arunapqa@gmail.com

    ReplyDelete
  31. Replies
    1. Custom Component:
      The visualforce components created by developer for the business requirements are called 'Custom Components'.
      Custom Components Example -
      1. Generic Pagination which can use across multiple visualforce pages (should be created to access).

      Standard Component:
      The visualforce components provided by the Salesforce are called 'Standard Components' (By default available).
      Standard components Example -
      1. apex:repeat
      2. apex:pageBlockTable

      Delete
  32. what is the merge trigger ? what are the events we pass ? and give some scenario ? and explain .....!

    ReplyDelete
    Replies
    1. 1. Merge: Combination of update and delete.
      2. Merge can be performed from UI to merge certain standard object records (Leads, Contacts and Accounts)
      3. Pragmatically we can include merge operation to merge certain standard objects (Leads, Contacts and Accounts).
      Note: Merge won't be supported for custom objects
      4. For merge operation update/delete triggers fire. There is no event for merge.

      Delete
  33. How can we get static resource csv file data to our Apex class ?
    and directly to the VFPage ?

    ReplyDelete
  34. Please check out the reference -
    http://www.forcetree.com/2010/08/read-and-insert-records-from-csv-file.html

    ReplyDelete
  35. Is there a dump for App Builder certification which is a replacement for Dev

    ReplyDelete
  36. Is there a dump for App Builder certification which is a replacement for Dev

    ReplyDelete
  37. Hello Srinu,

    If you have App Builder Certification dump please do share with us.

    ReplyDelete
  38. how to call a apex method from java script ? and give me some example and explain ... how it works?

    ReplyDelete
  39. what is remote API?
    AND WHAT is single sign on?
    how can we get the url is authorised or not in web service ?

    ReplyDelete
  40. these questions are enough for 2years experince also?

    ReplyDelete
  41. these questions are enough for 2years experince also?

    ReplyDelete
  42. Thanks a lot......very useful content and looking forward for Apex and Visual force Question.

    ReplyDelete
  43. This comment has been removed by a blog administrator.

    ReplyDelete
  44. This comment has been removed by a blog administrator.

    ReplyDelete
  45. This comment has been removed by the author.

    ReplyDelete
  46. Excellent site..thank you

    ReplyDelete
  47. hello srinu,
    I have done with sfdc training,did you provide any project??if yes how much fee??

    ReplyDelete
  48. hi srinu

    In organisation one user are there we have restrict through login hours and login ip ranges and deactive that user for one day that user giving user and pasword that wont work is there any other for restricting the user

    ReplyDelete
    Replies
    1. There is an option called Freeze, Which will restrict the user to login.
      Once you unfreeze it will work again.

      Delete
    2. In import wizard we can't see few objects (ex: if there is masterdetail relationship between two objects then child object we can't see).
      brother iam getting child nd parent objects also when master detaiedrelation b/w the objets.but u said we cant get child object..please cheke it.thanks

      Delete
  49. Hi srinu this is really very helpful stuff...but it would be great if we get same sought of related to integration and lighting component

    ReplyDelete
    Replies
    1. I am not getting time, will update soon... Thanks

      Delete
  50. Amazing dude!

    Thanks a billion times for all the efforts!

    ReplyDelete
  51. Very easily explained. Thankyou so much

    ReplyDelete
  52. hi srinu

    1 what is sales process in salesforce
    2 what is lead management
    3 what is case management

    ReplyDelete
  53. vry helpful stuffs ...thank u so much

    ReplyDelete
  54. Thank you.
    very helpful information provided in a sorted manner.

    ReplyDelete
  55. good stuff.....thank u srinu garu....

    ReplyDelete
  56. nice work done by you great keep it up..

    ReplyDelete
  57. What are the CRM concepts in salesforce?

    ReplyDelete
  58. hi
    how can you make a field mandatory from trigger?
    what is minimum and maximum batch size?

    ReplyDelete
    Replies
    1. min batch size is 1
      max batch size is 2000
      default batch size is 200

      Delete
    2. trigger AccountTrigger on Account (before insert, before update) {
      for(Account acc:trigger.new) {
      if(acc.Name=='' ) {
      acc.name.addError('This Name is a required field.');
      }
      }
      }

      Delete
  59. All FAQ's are very much helpful, thank alot Srinu :)

    ReplyDelete
  60. can we extends list ,map,set functionalities how ?

    ReplyDelete
  61. Hi
    I want more information on Lightning Experience.

    ReplyDelete
  62. your blog was nice and had a lot of information thank you latest job updates

    ReplyDelete
  63. hi,examples of standard object and custom objects.?

    ReplyDelete
  64. Some errors in Batch apex definition..pls correct it

    ReplyDelete
  65. how to display record type in visualforce page in salesforce without soql querey

    ReplyDelete
    Replies
    1. http://www.srinusfdc.com/2014/12/fetching-record-type-id-with-dynamic.html

      Delete
  66. Great Efforts.. Very Useful.. Thanks Srinu..

    ReplyDelete
  67. Great Effort. Really very helpful.
    Thanks Sir. Keep it up.

    ReplyDelete
  68. Very much useful, great effort Srinu.
    Thank you so much.

    ReplyDelete
  69. Great Effort, well organized.

    ReplyDelete
  70. Good site, a small correction is there. If we delete parent records in look up relationship Child records won't delete. But in the answer it is written as deleted. (Questions on relationships Q5)

    ReplyDelete
    Replies
    1. From the child records lookup field value will be cleared (record won't be deleted.). It will give the same meaning.

      Delete
    2. Hiii this interview questions both admin and develoment questions is there or not

      Delete
  71. Kindly update your Page Certain number of answer are not correct as per the latest salesforce update
    egs:-
    No. of rollup summery fields: 25
    How many records we can display on page for a report?

    ReplyDelete
    Replies
    1. Max. Roll-up Summary Limit (25) Reference: https://help.salesforce.com/apex/HTViewSolution?id=000213287&language=en_US

      Rows displayed in a report Up to 2,000. To view all the rows, export the report to Excel or use the printable view for tabular and summary reports. Reference: https://help.salesforce.com/articleView?id=faq_reports_common_limits.htm&language=en_US&type=0

      Please let me know if you feel, I am referring something wrong.

      Thanks for the suggestion.

      Delete
  72. Nice site really helpful..Kindly add some scenarios on triggers and batch apex

    ReplyDelete
  73. Thank u boss. If U free provide more stuff for us

    ReplyDelete
  74. Hi Srinuvas,
    Please post new things like Lightning and also new interview question.so ,it is usefull to us.

    ReplyDelete
  75. Hi srinivas,
    Can you please add integration interview questions.

    ReplyDelete
  76. how record is going to be saved in Salsesforce?

    ReplyDelete
  77. great article,but please add apex,DML and visualforce related questions.

    ReplyDelete
  78. Hi, Thats a nice questionnaire. Could you please post the Q&As on Salesforce integrations please. Thank u

    ReplyDelete
  79. hi srini,
    is it possible to see the code which is written for creating custom objects in sales force?if possible how?if not why?could you please address on it....

    ReplyDelete
  80. Super Brother Excellent work I have learned a lot...Thank you Very much

    ReplyDelete
  81. Thank you very much
    Amazing content and collection
    I had failed in 12 interviews for which I do not regret will try to read your material and attempt again

    feeling confident where I need to improve

    Thank you again

    ReplyDelete
  82. 1.How to handle the view state error,how can you fix the view state error?
    Ans: optimize the code, the variables which are not needed to persist in view state can be declared as 'transient' or 'static'.
    'transient' or 'static' variables won't be persisted in View State.
    Don't use multiple forms in the page which will increase the view state size by creating more folder structure.
    2.what is the purpose of get and set methods?
    And: get method to display the result in the visualforce page.
    set method to accept the input from the visualforce pagel.
    3.can we use either get or set method in a class or shall we use both of them?If we use only one of them would there be any syntax error?
    Ans: We can use only get or only set or both. No syntax errors.
    4.what is the major difference between workflow rules and process builder , how is process builder beneficial to users over workflow rules?
    Ans: Over Wrokflow rules in process builder more actions are available (new record, automatted paroval submittion, calling flow, post in chatter, calling apex code etc.). based on different conditions if you want to perform different actions it can be accommodated in the same process which is not possbile with workflow rules.
    Only one limitation over workflow rule is 'Outbound message' which is not supported in process builder.
    5.What is the basic purpose of flows in salesforce?why actually do we use flows?
    Ans: In flows you can show set of screens together without going for development. which can be embedded in visualforce page also.
    Example: upon login to salesforce if you want to show a screen.
    6.we have 3 objects Account,opportunity and opportunity line,write an soql query to retrieve the AccountIds from opportunity line object?
    Ans:
    [select id, Opportunity.AccountId from OpportunityLineItem]
    7.we have users form 3 countries UK,US,AUSTRALIA , we need to provide security so that the users of UK can see only their records,users of US can see only their records,users of AUSTRALIA can see only their records,how can we acheive this?
    Ans:
    Roles should be as below -
    Some Role
    UK US AUSTRALIA
    Say Object: custom__c --> set OWD as private and disable Grant Access using Hierarchies.
    8.I am updating an email field in parent object , the same field has to be updated in child object,how can we achieve this?
    Ans: Process Builder.

    ReplyDelete
  83. Hi Srinu add a question how to handle Non-Selective Query, its been asked frequently.

    ReplyDelete
  84. One more question Pro and Cons of Process builder ?

    ReplyDelete
  85. hi, when am creating new developer edition in "https://developer.salesforce.com".but it will will show "https://ap5.lightning.force.com" so how to convert in
    'https://ap2'??

    ReplyDelete
  86. hi, when am creating new developer edition in "https://developer.salesforce.com".but it will will show "https://ap5.lightning.force.com" so how to convert in
    'https://ap2'??

    ReplyDelete
  87. hi,
    In youtube the following website is displayed for creating a salesforce account(https://ap2.salesforce.com) .
    But when i am trying to creating to salesforce account the following account https://ap5.lightning.force.com ?.so how can i create https://ap2.salesforce.com.

    ReplyDelete
    Replies
    1. on top right corner you will find an option to swith to Salesforce Class. Please click on it you should be able to see in old look and feel.

      Delete
  88. Thank you for such a detailed explaination to some answers, it really helped me alot for cracking my interview

    ReplyDelete
  89. Good Work Brother...Thanks a Lot..:-)

    ReplyDelete
  90. If I enter numbers and Submit button should get Enabled automatically and when I enter Special Characters Submit button should get disabled.Now everything is good but Button is taking time to come in Enabled mode.Its taking 2 to 3 Seconds.So how can I reduce time???

    ReplyDelete
  91. select Id, Name, (select FirstName, LastName from Contacts) from Account where id in (select AccountId from Contact)

    The above query will retrieve the records if the Account is having at least one contact.
    I didn't find a way to retrieve the Accounts which are having more than one contact without using the apex code.

    Hope this helps.

    ReplyDelete
  92. Thank you so much.Helping many to learn Salesforce.Great attitude to share knowledge.

    ReplyDelete
  93. hi srinu,
    nice job.............

    ReplyDelete
  94. i have one doubt about permission sets & profiles.
    i have 1 user & i mapped with 1 profile & assigned 1 permission set with one of custom object.
    In profile we have: Read,Create,Edit,Delete,.....are there
    In permisets we have: Read,Create,Edit,Delete,....are there.
    what is the final output,in each and every step.......????
    Ex:In profile,I gave Read & In permisets I gave Edit......If the user go to that object,What is the final result??

    ReplyDelete
    Replies
    1. User can Edit, because permission sets will give additional access over the profile.

      Delete
    2. means what we assign at permission set level is final............right??

      Delete
    3. As long as ur permission set contains additional permissions, permission given in ps are final.

      Delete
    4. can i convert lookup to master detail relationship ?

      Delete
  95. Thank you for Sharing great list of Salesforce interview questions. i am searching the Job in salesforce developer. https://www.janbasktraining.com/blog/top-salesforce-interview-questions-and-answers/

    ReplyDelete
  96. Thank you so much.Its very helpful to me.Easy and to the point.once again thanks alot.

    ReplyDelete
  97. What is recursive workflow rule? How to avoid recursive workflow rules?
    IS this answer correct ?

    ReplyDelete
  98. lookup reationship is no more 25.
    You can have a Total of 40 Relationship fields with a Maximum of 2 Master Detail Relationships.
    So you can have all 40 as Lookup Relationship fields,
    38 Lookup and 2 MD
    39 Lookup and 1 MD relationship fields on an object

    ReplyDelete
  99. Only one word, that is Awesome.

    ReplyDelete
  100. Thank you very much sir,
    please provide apex and visualforce questions

    ReplyDelete
  101. thank u very much for some precious question which help lots...

    ReplyDelete
  102. Very helpful for beginner and intermediate level learner

    ReplyDelete
  103. I am doing my Interview preparation from all the information shared by You.

    Great Job bro :) Thanks a ton

    ReplyDelete
  104. Amazing content, please put Integration section also.

    ReplyDelete
  105. If anyone needs help in passing Salesforce Certification exams, please email me @ sfdchelp.guy@gmail.com.

    Salesforce App builder
    Salesforce Administrator (ADM 201)
    Salesforce Platform Developer I
    Salesforce Sales Cloud Consultant (CON 201)
    Salesforce Service Cloud Consultant
    Salesforce CPQ Specialist

    **Email me to request other Salesforce exams.

    ReplyDelete
  106. Dear Srinu,

    I need help on the below Query. Kindly suggest.

    1. I have tried deploying Apex class to my org. I could see deployment status is success but not able to find that apex class in my salesforce instance.


    Opportunity_Test
    ApexClass


    2. When i tried deploying the classes in bulk. I could see deployment is success but few classes are not visible in my salesforce org. If all the classes are deployed, then i must be able to find all of them under apex class in my salesforce.

    *
    ApexClass

    ReplyDelete
  107. This comment has been removed by the author.

    ReplyDelete
  108. I really Well prepared what you have provide all these questions. But I didn't get any Job Or offer since 2017.

    ReplyDelete
  109. Hi Thanks a lot for the wonderful content. Quick Question:

    Events trigger.old trigger.oldMap trigger.new trigger.newMap
    before delete ✔ ✔ ✘ ✘
    after delete ✔ ✔ ✘ ✘
    after undelete ✘ ✘ ✔ ✔

    In this context if trigger.new and trigger.newMap doesn't exists for beforedelete then how come Read Only is allowed for it?

    ReplyDelete
    Replies
    1. It should be NA, from long time I was planning to update. Finally updated today.

      Delete
  110. Your Answers are not upto date..Please refer that.
    And Thank You for your Awesome work..

    ReplyDelete
  111. Hi Srinu,
    It seems your youtube account has terminated. Do you have another account? if yes, please share the link. Thanks in advance.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  112. order of execution in salesfoce

    ReplyDelete
  113. This comment has been removed by the author.

    ReplyDelete
  114. You know how cool it is to make money at home? chic online rouletteHere's a cool site. I sit here all day. Here are cool slots, slot machines, moreover, gambling

    ReplyDelete
  115. You know how cool it is to make money at home? chic online roulette
    Here's a cool site. I sit here all day. Here are cool slots, slot machines, moreover, gambling

    ReplyDelete
  116. What is the difference between 15 digit and 18 digit id in Salesforce?
    I am not getting any difference, Finding both case sensitive.
    Thanks

    ReplyDelete
  117. What are the type of tabs?
    Ans
    Salesforces is Saying 4 Types of TABS
    Custom Tabs
    Web Tabs
    Visualforce Tabs
    Lightning Page Tabs

    ReplyDelete
  118. No of lookup relationship for an object: 25 Plz Modify
    No of lookup relationship for an object: 40 (38 Lookup + 2 MasterDetail)

    ReplyDelete
  119. It is very helpful. looking forward to get more logical questions to be added by you
    Thank you Srinu garu

    ReplyDelete
  120. Hi Sir! I have interview on this Saturday. I have knowledge on Admin part but I don't have knowledge on Development part. Could you please guide me for the Interview. I really be Thankful to you and I want to attend Lighting classes but batch is starting on june. Please guide me to crack the interview

    ReplyDelete
  121. Above article is valuable to read .the article says how to upgrade all.the concept is good.
    stenography institute in Delhi

    ReplyDelete
  122. No of the lookup on an object is 40 not 25

    ReplyDelete
  123. Thank you for your post. This is superb information. It is amazing and great to visit your site.
    Android Course in Gurgaon

    ReplyDelete
  124. Really cool post, highly informative and professionally written and I am glad to be a visitor of this perfect blog, thank you for this rare info!
    nebosh course in chennai
    offshore safety course in chennai

    ReplyDelete
  125. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    nebosh course in chennai
    offshore safety course in chennai

    ReplyDelete
  126. QuickBooks Enterprise by Intuit offers extended properties and functionalities to users. It is specially developed for the wholesale, contract, nonprofit retail, and related industries. QuickBooks Support is recommended for users to give you intuitive accounting means to fix SMEs running enterprise type of QuickBooks.

    ReplyDelete
  127. Really awesome blog. But please include scenario based questions and answers to resolve live scenarios.

    ReplyDelete
  128. This comment has been removed by the author.

    ReplyDelete
  129. Great post. Wonderful information and really very much useful. Thanks for sharing and keep updating.

    SAP ABAP Interview Questions and Answers


    SAP Basis Interview Questions and Answers

    ReplyDelete
  130. Hi Srinu, Could you please upload/share the lightning/Integration Interview questions/topics as well, it would be very helpful to all.. really you are doing great job by sharing your knowledge with others

    ReplyDelete
  131. QuickBooks Payroll Support Phone Number for employee payment. To get more enhanced results and optimized benefits

    ReplyDelete