Salesforce Developer Interview Questions & Answers

  1. Question 1. Explain What Is Sales Force?

    Answer :

    Salesforce is a CRM delivered as a software-as-a-service (SaaS).

  2. Question 2. Explain What Is A Custom Object In Sales Force?

    Answer :

    Custom objects are nothing but database tables. It stores data related to your company in Salesforce.com. Once you have defined custom object you can do following things like

    • Create custom fields
    • Associate the custom object with other records
    • In custom related lists, it display the custom object data
    • For custom object, records track events and tasks
    • Build page layouts
    • For the custom object create a custom tab
    • To analyze custom object data create dashboards and reports
    • Share your custom tabs, custom apps, custom objects and any other related components
  3. Adv Java Interview Questions

  4. Question 3. Explain What Is Object Relationship Overview?

    Answer :

    Object relationship overview in Salesforce is used to link custom object records to standard object records in a related list. In simple words, it is helpful to track product defects associated with customer cases. You can define different types of relationship by creating custom relationship fields on an object.

  5. Question 4. Mention Changing What May Cause Data Loss?

    Answer :

    Data loss may cause due to following reasons

    • Changing data and date-time
    • Altering to percent,number and currency from other data types
    • Changing from multi-select picklist, checkbox, auto number to other types
    • Altering to multi-select picklist from any type except picklist
    • Changing to auto-number except from text
    • Changing from text-area to e-mail, phone, URL and text
  6. Adv Java Tutorial

  7. Question 5. How Saas Can Be Helpful To Sales Force?

    Answer :

    • As SaaS is a subscription based, customers can always choose not to renew if they are dissatisfied
    • Customers can avoid a large initial investment in an IT infrastructure and day to day hustle of maintaining infrastructure
    • SaaS customer provides same provider infrastructure and also easy integration
    • SaaS applications use a simple internet interface that makes easier for customer to use.
    • SaaS always provide a latest platform to the customer with innovation.
  8. AJAX Interview Questions

  9. Question 6. How Sales Force Is Useful In Tracking Sales?

    Answer :

    Sales force records all the basic details like the number of customers served daily, daily sales volume, sales manager detailed reports, sales numbers in each month or quarter.  Also, it keeps a track on the repeat customer, which is key to success for any sales organization.

  10. Question 7. Mention How Many Relationship Is Included In Sfdc And What Are They?

    Answer :

    There are two types of relationships

    1. Master detail relationship
    2. Lookup relationship
  11. AJAX Tutorial
    Sales Management Interview Questions

  12. Question 8. Mention What Is The Difference Between Isnull And Isblank?

    Answer :

    isNull: It supports for number field

    isBlank: It supports for Text field

  13. Question 9. Explain What Is The Trigger?

    Answer :

    Trigger is a code that is executed before or after the record is updated or inserted.

  14. Salesforce Admin Interview Questions

  15. Question 10. Mention What Is The Use Of The Static Resource In Salesforce?

    Answer :

    With the help of static resources, you can upload zip files, images, jar files, JavaScript and CSS files that can be referred in a visual force page. The optimum size of static resources for an organization is 250 mB.

  16. Sales Management Tutorial

  17. Question 11. Mention What Is The Difference Between Force.com And Salesforce.com?

    Answer :

    Force.com is PaaS (Platform as a Service) while Salesforce.com is SaaS ( Software as a Service).

  18. Apex Interview Questions

  19. Question 12. Mention What Are The Actions Available In Workflow?

    Answer :

    Actions available in workflow are

    • Email Alert
    • Task
    • Field Update
    • Outbound Message
  20. Adv Java Interview Questions

  21. Question 13. Explain What Is The Limit Of Data.com Records That Can Be Added To Salesforce?

    Answer :

    User can see their limit form setup, by clicking data.com administration/Users.  From the data.com users section, user can see their monthly limit and how many records are exported during the month.

  22. Apex Tutorial

  23. Question 14. Mention What Are The Different Types Of Custom Settings In Salesforce?

    Answer :

    Different types of custom settings in Salesforce includes

    • Hierarchy type
    • List type
  24. Question 15. Mention What Are The Three Types Of Object Relations In Salesforce?

    Answer :

    Different types of object relations in Salesforce includes

    • One to many
    • Many to many
    • Master detail
  25. Javascript Advanced Interview Questions

  26. Question 16. Mention What Are The Different Types Of Reports Available In Salesforce?

    Answer :

    Different types of reports available in Salesforce are

    • Tabular report: It displays the grand total in the table form
    • Matrix report: It is a detailed report in which the grouping is done based on both rows and columns
    • Summary report: It is a detailed form of the report in which the grouping is done based on columns
    • Joined report: With this two or more reports can be joined in the single reports
  27. Javascript Advanced Tutorial

  28. Question 17. Is It Possible To Schedule A Dynamic Dashboard In Salesforce?

    Answer :

    No, it is not possible to schedule a dynamic dashboard in Salesforce.

  29. XHTML Interview Questions

  30. Question 18. What Does It Indicate If An Error State This “list Has No Rows For Assignment”?

    Answer :

    The error that tells “list has no rows for assignment” indicates that the list you are trying to access has no values in it.

  31. AJAX Interview Questions

  32. Question 19. Explain What The Junction Object Is And What Is The Use?

    Answer :

    Junction objects are used to build many-to-many relationships between objects.  You can take a recruiting application example, where a position for a job can be linked to many candidates and in the same manner a candidate can be linked to the different positions. So, to connect this data model, you need a third party object, this object is referred as junction object.  Here “job application” is the junction object.

  33. XHTML Tutorial

  34. Question 20. Explain What Is Audit Trail?

    Answer :

    Audit trail function is helpful in knowing the information or track all the recent setup changes that the administration does to the organization.  It can store last 6 months data.

  35. Sales Promoter Interview Questions

  36. Question 21. Explain What Is Dashboard?

    Answer :

    Dashboard is the pictorial representation of the report, and we can add up to 20 reports in a single dashboard.

  37. Question 22. Explain How Many Controllers Can Be Used In A Visual Force Page?

    Answer :

    As Salesforce comes under SaaS, one can use only one controller and as many extension controller.

  38. Excel Dashboards Tutorial

  39. Question 23. Mention What Is The Difference Between Soql And Sosl?

    Answer :

    SOQL ( Salesforce Object Query Language)

    • Only one object at a time can be searched
    • Query all type of fields
    • It can be used in triggers and classes
    • DML operation can be performed on query results

    SOSL (Salesforce Object Search Language)

    • Many objects can be searched at a time
    • Query only e-mail, phone and text
    • It can be used in classes but not in triggers
    • DML operation cannot be performed on search result
  40. Visualforce Interview Questions

  41. Question 24. When Do You Use A Before Vs. After Trigger?

    Answer :

    95% of triggers are before triggers – so if you’re unsure, go with before!

    You may be wondering why so many triggers are before triggers. There’s a good reason – they’re simpler to use. If you need to make any changes to a record entering your after trigger, you have to do a DML statement. This isn’t necessary in a before trigger – changes to records entering your trigger always save!

    The specific use case of an after trigger is when you need to associate any record to a record being created in your trigger. Here’s an example:

    // Automatically create an Opp when an Account is created
    trigger AutoOpp on Account(after insert) {
      List newOpps = new List();
      for (Account acc : Trigger.new) {
        Opportunity opp = new Opportunity();
        opp.Name        = acc.Name + ‘ Opportunity’;
        opp.StageName   = ‘Prospecting’;
        opp.CloseDate   = Date.today() + 90;
        opp.AccountId   = acc.Id; // Use the trigger record’s ID
        newOpps.add(opp);
      }
      insert newOpps;
    }

  42. Sales Management Interview Questions

  43. Question 25. What’s The Maximum Batch Size In A Single Trigger Execution?

    Answer :

    Default batch size is 200 ,However maximum batch size is 2000.

  44. Sales Forecasting Tutorial

  45. Question 26. What Are The Differences Between 15 And 18 Digit Record Ids?

    Answer :

    Difference Between 15 and 18 Digit Record Id. Hi Experts, I would like to know the exact difference between 15 and 18 digits record id. Most of us say, 15 digit(case sensitive) and 18 digit(case insensitive).

  46. Salesforce Crm Interview Questions

  47. Question 27. When Should You Build Solutions Declaratively Instead Of With Code?

    Answer :

    As a salesforce best practice, if something can be done using Configurations (Declarative) then its preferred over coding. The declarative framework is optimized for the platform and is always preffered.

  48. Salesforce Admin Interview Questions

  49. Question 28. Give An Example Of A Standard Object That’s Also Junction Object.

    Answer :

    OpportunityContactrole is the junction between Opportunity and Contact, and also Quote is junction between Contract and Opportunity.

  50. Salesforce Tutorial

  51. Question 29. What Are Tile Report Types?

    Answer :

    4 Types of report in Salesforce.

    1. Tabular Reports: We can only displays the grand total in the table
    2. Summary Reports: It is a detail form of report in which the grouping done based on Columns.
    3. Matrix Reports: It is a detail form of report in which the grouping done based on both Rows and Columns.
    4. Joined Reports: We can join the two or more reports in the single report displayed in the form of blocks.
  52. Sales Forecasting Interview Questions

  53. Question 30. How Many Field Dependencies We Can Use In Visual Force Page?

    Answer :

    Maximum we can use 10 field dependencies in VF page.

  54. Question 31. What Is Roll-up Summary?

    Answer :

    Roll-up displays the count of child records and calculate the sum, Min and max of fields of the child records.

  55. Question 32. How To Create Roll-up Summary Field On Lookup Relation?

    Answer :

    Not possible. Roll-up summary is enabled for only Master —Detail relationship.

  56. Salesforce Lightning Interview Questions

  57. Question 33. What Is Field Dependency?

    Answer :

    According to the field selection on one field filter the pick list values on other field.

  58. Apex Interview Questions

  59. Question 34. Is Check Box Performs Like Controlling Field?

    Answer :

    Yes possible. Controlling field should be Check box or pick list.

  60. Question 35. How We Can Change The Grant Access Using Role Hierarchy For Standard Objects?

    Answer :

    Not possible.

  61. Question 36. What Is The Use Of “transfer Record” In Profile?

    Answer :

    If user have only Read access on particular record but he wants to change the owner name of that record, then in profile level Transfer Record enables he can able to change the owier.

  62. Javascript Advanced Interview Questions

  63. Question 37. What Is Permission Set?

    Answer :

    Permission sets extend users functional access without changing users profile.

    Lx: A user has only read access through profile on custoni object. administrator want to give access Edit and create operations to him without changing the profile. Administrator creates the permission set having edit and creates operation on custom object and assign to that user.

  64. Question 38. What Is Manual Sharing?

    Answer :

    Manual sharing is to share a record to a particular user manually.

    Go to detail page of record and click on manual sharing button and assign that record to other user with Read or Read/write access.

    Manual Sharing button enables only when OWD is private to that object.

  65. Question 39. How To Create Master Details Relationship Between Existing Records?

    Answer :

    Directly we can’t create Master Detail relationship between existing records, first we have to create Lookup relationship and provide valid lookup fields and it shouldn’t null.

  66. Question 40. How Many Ways We Can Call Apex Class?

    Answer :

    • Visual force page
    • Web service
    • Triggers
    • Email services
  67. XHTML Interview Questions

  68. Question 41. What Is Difference Between Action Support And Action Function?

    Answer :

    Action function: Invoke the controller method from java script using AJAX and we can use action function from different places on visual force page.

    Action support: Invoke the controller method using AJAX when even occurs on page like onMouseOver, onClick. ect… and we can use action support for particular single apex component.

  69. Question 42. How Many Ways We Can Made Field Is Required?

    Answer :

    1. While creation of field
    2. Validation rules
    3. Page Layout level
  70. Sales Promoter Interview Questions

  71. Question 43. What Is Difference Between Role And Profile?

    Answer :

    Role is Record level access and it is not mandatory for all users.

    Profile is object level and field level access and it is mandatory for all users.

  72. Question 44. What Is The Maximum Size Of The Pdf Generated On ‘visualforce Attribute Renderas?

    Answer :

    15MB

  73. Question 45. What Is Wrapper Class?

    Answer :

    A Wrapper class is a class whose instances are collection of other objects.

    It is used to display different objects on a Visual Force page in same table.