Interview
questions for Salesforce Developer
1. What are permission sets and how do they differ from profiles?
2. When will you use profile and permission sets together?
3. Difference between roles and profiles?
4. What are controllers?
5. What are extensions?
6. Difference between controllers and extensions?
7. What is a standard controller and custom controller?
8. What is the Minimum number of queries required to query for 2 level, 3 level relationships?
9. Define recursive triggers?How will you avoid recursive triggers?
10. What is use of with sharing and without sharing in Apex class?
11. What deployment methods have you used? List advantages and disadvantages of each?
12. How will you load data for a child object?
13. Difference between a look up and master-detail relationship?
14. Explain, the way you will query child from parent and parent from child
15. What are sharing rules, when do you used sharing rules?
16. Explain lead to opportunity conversion?
17. What are record types? Why are the record types used?
18. When is page layout assignment used?
19. How many types of salesforce licenses are there? What are the limits?
20. What is batch apex? Why do we use batch apex?
21. What is the use of @future annotation?
22. What are test classes, what is the test coverage you need to move a code into production?
23. Can I directly change code in salesforce production org?
24. How do I log a case with salesforce?
25. How can I change owner for multiple cases at once (example - from Rob to John)
26. Difference between a workflow rule and approval process?
27. What is the order of execution of workflow rules, validation rules, triggers?
28. Explain Salesforce.com security implementation with respect to Profiles, Roles and Hierarchy, Sharing rules, OWD(org wide default settings)? Also, specify which is the most restrictive security setting?
29. What are custom report types?
30. What are different types of reports you can create?
31. What is Trigger?old and Trigger?New
32. What is ApexPages?addMessage
33. How is a pdf generated using visual force page?
34. How can I redirect user to a page after processing is completed in the controller/extension?
35. What are custom settings? When will you use custom settings?
36. What are Action Support, Action Function and Action Poller used for?
37. How can one read parameter values through the URL in Apex?
Salesforce Interview questions with answers
1. What is the difference between Lookup Relationship and Master-Detail Relationship?
Master – Detail Relationship :
1. We cannot create master – detail relationship type fields directly if records already exists. Instead we have to first create Look up fields then fill all the records with that lookup filed. After that we can convert the lookup fields to master – detail relationship
Salesforce interview questions and answers
1. What is the difference between custom controller and extension?
Custom Controller: A custom controller is an Apex class that implements all of the logic for a page without leveraging a standard controller. Use custom controllers when you want your Visualforce page to run entirely in system mode, which does not enforce the permissions and field-level security of the current user.
Controller extension: A controller extension is an Apex class that extends the functionality of a standard or custom controller.
Although custom controllers and controller extension classes execute in system mode and thereby ignore user permissions and field-level security, you can choose whether they respect a user's organization-wide defaults, role hierarchy, and sharing rules by using the with sharing keywords in the class definition.
2. What are different kinds of reports?
1. Tabular: Tabular reports are the simplest and fastest way to look at data. Similar to a spreadsheet, they consist simply of an ordered set of fields in columns, with each matching record listed in a row. Tabular reports are best for creating lists of records or a list with a single grand total. They can't be used to create groups of data or charts, and can't be used in dashboards unless rows are limited. Examples include contact mailing lists and activity reports.
2. Summary: Summary reports are similar to tabular reports, but also allow users to group rows of data, view subtotals, and create charts. They can be used as the source report for dashboard components. Use this type for a report to show subtotals based on the value of a particular field or when you want to create a hierarchical list, such as all opportunities for your team, subtotalled by Stage and Owner. Summary reports with no groupings show as tabular reports on the report run page.
3. Matrix: Matrix reports are similar to summary reports but allow you to group and summarize data by both rows and columns. They can be used as the source report for dashboard components. Use this type for comparing related totals, especially if you have large amounts of data to summarize and you need to compare values in several different fields, or you want to look at data by date and by product, person, or geography. Matrix reports without at least one row and one column grouping show as summary reports on the report run page.
4. Joined: Joined reports let you create multiple report blocks that provide different views of your data. Each block acts like a “sub-report,” with its own fields, columns, sorting, and filtering. A joined report can even contain data from different report types.
3. What are different kinds of dashboard component?
1. Chart: Use a chart when you want to show data graphically.
2. Gauge: Use a gauge when you have a single value that you want to show within a range of custom values.
3. Metric: Use a metric when you have one key value to display.
Enter metric labels directly on components by clicking the empty text field next to the grand total.
Metric components placed directly above and below each other in a dashboard column are displayed together as a single component.
4. Table: Use a table to show a set of report data in column form.
5. Visualforce Page: Use a Visualforce page when you want to create a custom component or show information not available in another component type
6. Custom S-Control: Custom S-Controls can contain any type of content that you can display or run in a browser, for example, a Java applet, an ActiveX control, an Excel file, or a custom HTML Web form.
4. How to schedule a class in Apex?
To invoke Apex classes to run at specific times, first implement the Schedulable interface for the class, then specify the schedule using either the Schedule Apex page in the Salesforce user interface, or the System.schedule method.
After you implement a class with the Schedulable interface, use the System.Schedule method to execute it. The scheduler runs as system: all classes are executed, whether the user has permission to execute the class or not.
The System.Schedule method takes three arguments: a name for the job, an expression used to represent the time and date the job is scheduled to run, and the name of the class.
Salesforce only adds the process to the queue at the scheduled time. Actual execution may be delayed based on service availability. The System.Schedule method uses the user's time zone for the basis of all schedules. You can only have 25 classes scheduled at one time.
5. What is PermissionSet?
PermissionSet represents a set of permissions that’s used to grant additional access to one or more users without changing their profile or reassigning profiles. You can use permission sets to grant access, but not to deny access.
Every PermissionSet is associated with a user license. You can only assign permission sets to users who have the same user license that’s associated with the permission set. If you want to assign similar permissions to users with different licenses, create multiple permission sets with the same permissions, but with different licenses.
6. What are governor limits in Salesforc.com?
Governor limits are runtime limits enforced by the Apex runtime engine. Because Apex runs in a shared, multitenant environment, the Apex runtime engine strictly enforces a number of limits to ensure that code does not monopolize shared resources. Types of limits that Apex enforces are resources like memory, database resources, number of script statements to avoid infinite loops, and number of records being processed. If code exceeds a limit, the associated governor issues a runtime exception that cannot be handled thereby terminating the request.
7. What are custom settings?
Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database. This data can then be used by formula fields, validation rules, Apex, and the SOAP API.
There are two types of custom settings:
List Custom Settings
A type of custom setting that provides a reusable set of static data that can be accessed across your organization. If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it. Data in list settings does not vary with profile or user, but is available organization-wide. Because the data is cached, access is low-cost and efficient: you don't have to use SOQL queries that count against your governor limits.
Hierarchy Custom Settings
A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users. The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value. In the hierarchy, settings for an organization are overridden by profile settings, which, in turn, are overridden by user settings.
8. What are different portals in Salesforce.com?
Partner Portal:
A partner portal allows partner users to log in to Salesforce.com through a separate website than non-partner users. Partner users can only view & edit data that has been made available to them. An organization can have multiple partner portals.
Customer Portal:
Customer Portal provides an online support channel for customers allowing them to resolve their inquiries without contacting a customer service representative. An organization can have multiple customer portals.
9. What is the use of Salesforce.com Sites?
Force.com Sites enables you to create public websites and applications that are directly integrated with your Salesforce organization without requiring users to log in with a username and password. You can publicly expose any information stored in your organization through a branded URL of your choice. Sites are hosted on Force.com servers and built on native Visualforce pages. You can user authentication to a public site using customer portal.
10. What actions can be performed using Workflows?
1. Email Alert:
Email alerts are workflow and approval actions that are generated using an email template by a workflow rule or approval process and sent to designated recipients, either Salesforce users or others. Workflow alerts can be sent to any user or contact, as long as they have a valid email address.
2. Field Update:
Field updates are workflow and approval actions that specify the field you want updated and the new value for it. Depending on the type of field, you can choose to apply a specific value, make the value blank, or calculate a value based on a formula you create.
3. Task:
Assigns a task to a user you specify. You can specify the Subject, Status, Priority, and Due Dateof the task. Tasks are workflow and approval actions that are triggered by workflow rules or approval processes.
4. Outbound Message:
An outbound message is a workflow, approval, or milestone action that sends the information you specify to an endpoint you designate, such as an external service. An outbound message sends the data in the specified fields in the form of a SOAP message to the endpoint.
Interview questions for Salesforce developers with answers
1. Through Sales force Import wizard how many records we can import?
Using Import wizard, we can upload up to 50,000 records.
2. Import wizard will support for which Objects?
Only Accounts, Contacts and custom object’s data can be imported. If we want to import other objects like Opportunities and other object’s data, then we need to go for Apex Data Loader.
3. What is app exchange?
The developed custom applications can be uploaded into the app exchange so that the other person can share the application.
4. What is a VLOOKUP in S.F?
VLOOKUP is actually a function in salesforce which is used to bring relevant value to that record from another record automatically.
5. When I want to export data into SF from Apex Data Loader, which Option should be enable in Profile?
Enable API
6. What is a web - lead?
Capturing a lead from a website and routing it into lead object in Sales Force is called wed-lead (web to lead).
7. What are the Types of Account and difference between them?
We have two types of accounts.
Personal accounts
Business accounts
In personal accounts, person’s name will be taken as primary considerations where as in business accounts, there will be no person name, but company name will be taken into consideration.
8. What is a Wrapper Class in S.F?
A wrapper class is a class whose instances are collections of other objects.
9. What are formula and Rollup Summary fields and Difference between them? When should Rollup- Summary field enable?
Formula: A read-only field that derives its value from a formula expression that we define. The formula field is updated when any of the source fields change.
Rollup Summary: A read-only field that displays the sum, minimum, or maximum value of a field in a related list or the record count of all records listed in a related list.
10. What is a Sandbox? What are all the Types of sandboxes?
Sandbox is the exact replica of the production.
3 Types:
Configuration
Developer
Full
Recently asked Salesforce interview questions
1. Explain "Mixed_DML_Operation" error.
2. Do Apex test methods persist data to the Salesforce.com data store?
3. Is it necessary to write Apex test classes for custom controllers?
4. Explain Apex heap limit?
5. Is it possible to bypass Apex governor limits?
6. Which governor limit you used to face frequently?
7. Explain the relationship between Account and Contact?
8. Briefly explain view state in Apex?
9. How to enable view state in development mode?
10. How to bulkify trigger?
Salesforce Interview questions with answers Part 1
1. What is an alternative for workflow?
Trigger or Schedule apex.
2. What is the use of isNew()?
Checks whether the record is newly created.
3. If you organization Workflow's limit is over and if you want to write a workflow immediately and it critical, what will you do?
1. De-activate any workflows and create it using trigger and then do the new workflow.
Or
2. Go for Schedule apex or trigger to achieve this workflow.
4. How many users have you supported?
Number of users in the Salesforce organization. It helps the recruiter to understand your scalability.
5. How many records can be retrieved by List data type if the page attribute in read only?
10,000.
Salesforce interview questions in Web Service API
1. How to use external WSDL in Salesforce application?
2. Difference between REST API and SOAP API?
3. What is the use of Bulk API?
4. Have you worked in Siebel to Salesforce data Migration?
5. How to fetch data from another Salesforce instance using API?
6. How to implement Salesforce to Salesforce connection?
7. What is the use of Metadata API?
8. How to call Apex method from a Custom Button?
9. Is it possible to access the data via RSS feeds using API?
10. Difference between Enterprise WSDL and Partner WSDL?
11. How to convert a Rich Text Area Field's Image for API Upload?
12. Have you worked in integrating Google chart?
13. How to Interact with the Force.com REST API from PHP?
14. What are callouts?
15. Any idea on Salesforce API Integration Using SOAP-based Web Services?
16. What is the use of JSON?
17. What is the use of Chatter REST API?
Salesforce interview questions to be expected
1. How to reset password for particular users in SaleSforce?
2. How to grant your administrator or support personnel to login as you?
3. How to find out what Salesforce edition you have?
4. How to import attachments using Apex Data Loader?
5. How to get security token in Salesforce?
6. Difference between WhoID and WhatID?
7. Difference between ISBLANK and ISNULL?
8. Difference between Sandbox and Developer Edition?
9. How to get fields for sObject using Apex?Apex and Visualforce?
10. How to truncate string using apex in Salesforce?
11. How to get Salesforce.com Organization ID?
12. How to convert sObject to String in Apex?
13. How to free list memory using apex?
14. How to get a subquery field value using Apex?
15. How do I configure proxy settings for Java?
16. How to send email to a public group using apex?
Salesforce interview stuffs
1. How to add Row limit and Dashboard settings for Tabular report?
2. How to find total no of records using SOQL?
3. How to use a list variable in SOQL?
4. How to edit Report folder?
5. How to schedule export?
6. How to get values from apex:inputField in controller?
7. How to include external Javascript file in VF?
8. How to use Custom Labels in Visualforce page and Apex?
9. How to schedule a report?
10. How to display multiple Dashboards in home page?
11. How to track field history in Salesforce?
12. How to convert lead using Apex?
13. How to create Sandbox?
14. How to make approval process active?
15. How to execute SOQL query in Developer Console?
Salesforce Developer Interview questions
1. If the OWD for account is "Private", is it possible for a user in higher hierarchy to see the records owned by the user below his/her hierarchy?
2. If without sharing class calls with sharing class, how the with sharing class behaves(with sharing or without sharing)?
3. How to extend report access to group of users?
4. How to by pass governor limits?
5. Difference between heap limits and governor limits?
6. How to schedule Batch apex?
7. How to update a text field based on Date field?
SFDC Interview Questions
1. How to get a count of million records from object?
2. Maximum how many extensions can use in VF page?
3. Tasks are storing in which object?
4. Explain about batch apex?
5. Best practise for writing triggers
6. Explain some of the features about spring 12?What all are the reports type we can create in salesforce?
7. What is the difference between Summary report and Matrix report?
8. What is the difference between Import Wizard, Dataloader and Dataloader CLI?
9. Major difference between before trigger and after trigger, in which scenario we need to use these?
10. how to control recursion operation of trigger? (Ex: writing update inside of after trigger)
11. Order of ececution of validation , workflow rules?
12. If method overrided in custom controller and used in VF page as extension then which method will call?
13. What are the workflow actions?
14. Explain about your roles and profile?
15. What is <apex:define>, <apex:actionFunction>, <apex:actionRegion> tags?
16. Explain analytical snapshot?
17. When can we use workflow and when can we use trigger?
18. What is SOQL and SOSL?
19. What is the governor limits in SOQL and SOSL?
20. What is the return type of SOSL?
21. Explain about dashboard?
22. Explain about future method and governor limits of future method?
23. What is StandardController and What is CustomController and when will you go for CustomController?
24. If one client is newly starting with salesforce then what all are the things you will consider and what edtion you will suggest?
25. Explain about different Sandboxes?
26. What kind of environment you will follow if we need to deploy or release changes to production every month?
27. Salesforce interview questions
28. 1. How to force lead assignment rule via Apex while updating or adding the Lead?
2. How to implement the pagination in SOQL ?
3. How to access custom controller-defined Enum in custom component ?
4. How to generate the random string or random password using Apex?
5. What is dynamic binding in Salesforce?
6. How to convert lead using Apex?
7. Consider total 90k records present in Salesforce and you have used the count() method of soql. What will be output of it?
8. How can you determine that email is actually sent or not from the Salesforce?
9. In Salesforce.com which fields are indexed automatically?
10. Give any scenario when you cannot change the currency field type to numeric type?
29. Salesforce basic Interview questions
30. 1. Workflow rules can perform which of the following actions using standard Salesforce.com functionality?
A. Update a Field
B. Send an Outbound Message
C. Send an Email
D. Create a Task
2. The Organization ID (Org ID) of a sandbox environment is the same as its production environment.
A. True
B. False
3. Jim is a Salesforce.com system administrator for Universal Products Inc (UPI). UPI currently uses org-wide public read/write for accounts. The sales department is concerned with sales reps being able to see each other's account data, and would like sales reps to only be able to view their own accounts. Sales managers should be able to view and edit all accounts owned by sales reps. The marketing department at UPI must be able to view all sales representative's accounts at UPI. What steps must be configured in order to meet these requirements?
A. Change Org-Wide Security for Accounts to Private
B. Add Sharing Rule to Provide Read Access to Marketing for Sales Representative's Accounts
C. Configure Roles:
Executive
-Marketing (Subordinate of Executive)
-Sales Management (Subordinate of Executive)
--Sales Representatives (Subordinate of Sales Management)
D. Create Sharing Rule to allow Sales Management to view/edit Sales Representatives' accounts
31.
32.
4. The Data Loader can be used with Group Edition.
A. True
B. False
5. What type of object relationship best describes the relationship between Campaigns and Leads (using standard Salesforce functionality)?
A. Many to Many
B. Many to One
C. One to One
6. Which of the following are valid Salesforce license types?
A. Service Cloud
B. Platform (Force.com)
C. Customer Portal
D. Gold Edition
E. Unlimited Edition
F. Platinum Portal
7. Which of the following are either current or future planned offerings by Salesforce.com or its subsidiaries?
A. Touch
B. Flow / Visual Process Manager
C. Heroku
D. Sites / Siteforce
E. StartForce
8. Bob is a Salesforce.com consultant and is responsible for the data migration of an implmentation for his client, Universal Systems Inc (USI).
USI wants to migrate contacts and accounts from their legacy CRM system, which has a similar data model (many contacts per one account; primary keys exist on contact and account).
USI has provided Bob an export in CSV format of contacts and accounts of their legacy CRM system. What method should Bob use to migrate the data from the legacy system into Salesforce?
A. An ETL or similar data migration tool must be used
B. Create an external ID for account and use the data loader to upsert the data with relationships intact
C. Insert accounts into Salesforce and use Excel vlookup to match the legacy ID to the Salesforce ID in order to insert associated contacts
9. Universal Products Inc (UPI) wants to perform a drip marketing campaign on leads generated through website submissions. What is the ideal method to execute this type of campaign?
A. Use Salesforce campaign management and series of workflow rules
B. Integrate Salesforce with a 3rd party vendor to perform marketing automation
C. Export the data from Salesforce and manually send via 3rd party tool
10. Which of the following are valid ways to migrate metadata?
A. Data Loader
B. Change Sets
C. Force.com IDE
D. ANT Migration Toolkit
Will the following trigger work ? - Salesforce Interview Question
trigger tgrCounter on Mileage__c (after insert, after update)
{
List <Mileage__C> MilToupdate = new List<Mileage__C>();
for(Mileage__cMlg : Trigger.new)
{
Mlg.Counter__c = Mlg.Counter__c + 1;
MilToupdate.add(Mlg);
}
updateMilToupdate;
}
Answer:
No.
The reason is it will cause recursion.
Will the following snippet work ? - Salesforce Interview Question
public class insst1
{
public void sav()
{
for(integer i=0;i<150;i++)
{
Lead c=new lead();
c.FirstName='Mr'+i;
c.company='XYZ';
insert c;
}
}
}
Answer:
No.
The reasons are
Total number of DML statements issued - 150
LastName is a mandatory field.
Salesforce Sample Interview Questions
1. What is Apex?
2. What is VisualForce?
3. What is an S-Control?
4. What is the difference between Visualforce and S-Control?
5. What is mini page layout?
6. What are wrapper classes?
7. When do we use wrapper classes?
8. What are the available editions in Salesforce?
9. What is the difference between different editions of Salesforce?
10. What is the difference between Sandbox and Developer environment?
11. How to schedule export or take the backup of Salesforce?
12. What are sharing settings?
13. What are recursive triggers? How can we avoid the recursion problem?
14. What are apex governer limits?
15. Do governer limits apply to sandbox instances?
16. What are activities?
17. What is the difference between task and event?
18. List and describe features used to set permission and data access in custom app.
19. How will you create a user?
20. What is the difference between page layout and related list?
21. What are person accounts?
22. How forecasting works in salesforce?
23. What are system fields? Can you name some of them.
24. What are default components available on home page?
25. How do I change the home page layout?
26. How many types of reports I can create in salesforce? What are they?
27. What is dashboard? How is it created?
28. What is page layout?
29. What is related list?
30. What are recent release features?
31. How do you use actionFunction tag?
32. What is the difference between actionFunction and actionSupport tags?
33. What is actionPoller?
34. What is the difference between ISNULL and ISBLANK?
35. How do you do FileUpload using visualforce?
36. What is appExchange? How can I host my application on appExchange?
37. What is batch apex?
38. When will you use batch apex and what is the best practice?
39. What is apex scheduler?
40. What are webservice callouts?
41. Explain how MVC architecture fit for Salesforce.
42. How will you create relationship between objects?
43. How many types of relationships are possible between objects?
44. How many data types are supported for a Custom Objects standard field name?
45. How do you hide header and side bar on visualforce page?
46. What is the difference between standard and custom controller?
47. What is controller extension?
48. How do you read parameter in visualforce page?
49. How many dependent drop downs can be put in visualforce page?
50. What is the maximum size of the PDF generated on visualforce attribute renderAs?
51. How can we check the objects accessibility on visualforce page?
52. How many rows are returned by a list controller?
53. What is custom component?
54. What is assignTo attribute and what is its use?
Salesfoce.com Interview stuff
1. Define Profile and role?
2. What are all the types of relationships in soql?
3. What are the types for run Batch class?
4. Explain Dynamic Apex like Apex Describe information?
5. Explain Remote Action in apex?
6. What is View state?
7. Explain Pagination in Visual force page?
8. Can we use trigger.new in After Delete trigger?
9. Explain Future methods and limitation?
10. What is difference between Sales Team and Account Team?
11. How can we change standard Time format in to Salesforce and Local?
12. What is the difference between Action Support and Action Fuction?
13. What is the difference between Command Lind and Command Button?
14. Explain Security in Salesforce?
15. Inline Visual force page?
16. How to remove redundancy in List?
17. If we are writing Global class how we can secure to external user?
18. What is the use of Junction object?
19. How we can create custom field from page layout?
20. Lead conversion?
21. Can we create contact without account?
22. What is Field Set and why we are using this?
23. Define Permission set?
24. What are partner and Enterprise WSDL?
25. What is difference between ActionFuction and ActionSupport?
26. Explain Reports in Salesforce?
27. Criteria based sharing?
28. Explain Record sharing and types?
SFDC Interview questions
Important Salesforce.com expected interview questions are as follows:
1. What is your Strong point in Salesforce?
2. How you can with SQL injections in Salesforce?
3. Can you explain test methods in Salesforce?
4. How did you display error messages on VF Pages in Salesforce?
5. Can you explain relationships in Salesforce?
6. What are SOQL limitations?
7. How can bypass SOQL statement to fetch more 1000 records?
8. What job did you like more in your carrier?
9. Can you explain about SFDC controllers?
10. Can you explain about Sales process?
11. What is a set in Salesforce deployments?
12. How many ways you can invoke a work flow?
13. What are governor limits can you explain about it?
14. What are Role, Profile and Security?
15. How do you handle SOQL problem in Trigger?
16. How you can access JQuery in VF page?
17. What is change set in Salesforce?
18. What is transient variable in Salesforce?
19. How you can measure trigger performance?
Search my blog for answers.
Cheers!!!
Interview questions for Salesforce developers with answers
1. Through Sales force Import wizard how many records we can import?
Using Import wizard, we can upload up to 50000 records.
2. Import wizard will support for which Objects?
Only Accounts, Contacts and custom object’s data can be imported. If we want to import other objects like Opportunities and other object’s data, then we need to go for Apex Data Loader.
3. What is app exchange?
The developed custom applications can be uploaded into the app exchange so that the other person can share the applicaition.
4. What is a VLOOKUP in S.F?
VLOOKUP is actually a function in sales force which is used to bring relevant value to that record from another record automatically.
5. When I want to export data into SF from Apex Data Loader, which Option should be enable in Profile?
Enable API
6. What is a web - lead?
Capturing a lead from a website and routing it into lead object in Sales Force is called wed-lead (web to lead).
7. What are the Types of Account and difference between them?
We have two types of accounts.
Personal accounts
Business accounts
In personal accounts, person’s name will be taken as primary considerations where as in business accounts, there will be no person name, but company name will be taken into consideration.
8. What is a Wrapper Class in S.F?
A wrapper class is a class whose instances are collections of other objects.
9. What are formula and Rollup Summary fields and Difference between them? When should Rollup- Summary field enable?
Formula: A read-only field that derives its value from a formula expression that we define. The formula field is updated when any of the source fields change.
Rollup Summary: A read-only field that displays the sum, minimum, or maximum value of a field in a related list or the record count of all records listed in a related list.
10. What is a Sandbox? What are all the Types of sandboxex?
Sandbox is the exact replica of the production.
3 Types:
Configuration
Developer
Full
Salesforce Interview questions with answers
1. What is the difference between Lookup Relationship and Master-Detail Relationship?
Master – Detail Relationship :
1. We cannot create master – detail relationship type fields directly if records already exists. Instead we have to first create Look up fields then fill all the records with that lookup filed. After that we can convert the lookup fields to master – detail relationship.
2. If we delete master records then detail (Child) records are deleted.
3. It creates the parent(master) child(Detail) relationship between objects.
Look up relationship :
1. Look up relationship creates relations between two objects.
2. If we delete any object then other object is not deleted
2. True or False? If you were to delete a record that had a lookup to a child object, all child object records would get deleted as well.
False
3. Where is the view Account hierarchy link?
http://infallibletechie.blogspot.in/2012/10/account-hierarchy-in-salesforce.html
4. Define Account Hierarchy?
Account hierarchy defines the Hierarchy of accounts. It is displayed in tree structure.
5. Where can you make a field required?
1. During creation of field
2. Page layouts
3. Validation rules
6. What type of Workflow Alerts are there?
1. Email Alert
2. Outbound Message
3. Task
4. Field Update
7. Validation Rules, What are they use for in Salesforce?
Validation rules are used to maintain data format and consistency.
8. What is Dataloader?
The Data Loader is an easy to use graphical tool that helps you to get your data into Salesforce objects. The Data Loader can also be used to extract data from database objects into any of the destinations mentioned above. You can even use the Data Loader to perform bulk deletions by exporting the ID fields for the data you wish to delete and using that source to specify deletions through the Data Loader.
9. What is the difference between Profiles and Roles in Salesforce.com?
Roles controls record level access.
Profiles controls object level access.
Interview questions for Salesforce Developer
1. What are permission sets and how do they differ from profiles?
2. When will you use profile and permission sets together?
3. Difference between roles and profiles?
4. What are controllers?
5. What are extensions?
6. Difference between controllers and extensions?
7. What is a standard controller and custom controller?
8. What is the Minimum number of queries required to query for 2 level, 3 level relationships?
9. Define recursive triggers?How will you avoid recursive triggers?
10. What is use of with sharing and without sharing in Apex class?
11. What deployment methods have you used? List advantages and disadvantages of each?
12. How will you load data for a child object?
13. Difference between a look up and master-detail relationship?
14. Explain, the way you will query child from parent and parent from child
15. What are sharing rules, when do you used sharing rules?
16. Explain lead to opportunity conversion?
17. What are record types? Why are the record types used?
18. When is page layout assignment used?
19. How many types of salesforce licenses are there? What are the limits?
20. What is batch apex? Why do we use batch apex?
21. What is the use of @future annotation?
22. What are test classes, what is the test coverage you need to move a code into production?
23. Can I directly change code in salesforce production org?
24. How do I log a case with salesforce?
25. How can I change owner for multiple cases at once (example - from Rob to John)
26. Difference between a workflow rule and approval process?
27. What is the order of execution of workflow rules, validation rules, triggers?
28. Explain Salesforce.com security implementation with respect to Profiles, Roles and Hierarchy, Sharing rules, OWD(org wide default settings)? Also, specify which is the most restrictive security setting?
29. What are custom report types?
30. What are different types of reports you can create?
31. What is Trigger?old and Trigger?New
32. What is ApexPages?addMessage
33. How is a pdf generated using visual force page?
34. How can I redirect user to a page after processing is completed in the controller/extension?
35. What are custom settings? When will you use custom settings?
36. What are Action Support, Action Function and Action Poller used for?
1. What are permission sets and how do they differ from profiles?
2. When will you use profile and permission sets together?
3. Difference between roles and profiles?
4. What are controllers?
5. What are extensions?
6. Difference between controllers and extensions?
7. What is a standard controller and custom controller?
8. What is the Minimum number of queries required to query for 2 level, 3 level relationships?
9. Define recursive triggers?How will you avoid recursive triggers?
10. What is use of with sharing and without sharing in Apex class?
11. What deployment methods have you used? List advantages and disadvantages of each?
12. How will you load data for a child object?
13. Difference between a look up and master-detail relationship?
14. Explain, the way you will query child from parent and parent from child
15. What are sharing rules, when do you used sharing rules?
16. Explain lead to opportunity conversion?
17. What are record types? Why are the record types used?
18. When is page layout assignment used?
19. How many types of salesforce licenses are there? What are the limits?
20. What is batch apex? Why do we use batch apex?
21. What is the use of @future annotation?
22. What are test classes, what is the test coverage you need to move a code into production?
23. Can I directly change code in salesforce production org?
24. How do I log a case with salesforce?
25. How can I change owner for multiple cases at once (example - from Rob to John)
26. Difference between a workflow rule and approval process?
27. What is the order of execution of workflow rules, validation rules, triggers?
28. Explain Salesforce.com security implementation with respect to Profiles, Roles and Hierarchy, Sharing rules, OWD(org wide default settings)? Also, specify which is the most restrictive security setting?
29. What are custom report types?
30. What are different types of reports you can create?
31. What is Trigger?old and Trigger?New
32. What is ApexPages?addMessage
33. How is a pdf generated using visual force page?
34. How can I redirect user to a page after processing is completed in the controller/extension?
35. What are custom settings? When will you use custom settings?
36. What are Action Support, Action Function and Action Poller used for?
37. How can one read parameter values through the URL in Apex?
Salesforce Interview questions with answers
1. What is the difference between Lookup Relationship and Master-Detail Relationship?
Master – Detail Relationship :
1. We cannot create master – detail relationship type fields directly if records already exists. Instead we have to first create Look up fields then fill all the records with that lookup filed. After that we can convert the lookup fields to master – detail relationship
Salesforce interview questions and answers
1. What is the difference between custom controller and extension?
Custom Controller: A custom controller is an Apex class that implements all of the logic for a page without leveraging a standard controller. Use custom controllers when you want your Visualforce page to run entirely in system mode, which does not enforce the permissions and field-level security of the current user.
Controller extension: A controller extension is an Apex class that extends the functionality of a standard or custom controller.
Although custom controllers and controller extension classes execute in system mode and thereby ignore user permissions and field-level security, you can choose whether they respect a user's organization-wide defaults, role hierarchy, and sharing rules by using the with sharing keywords in the class definition.
2. What are different kinds of reports?
1. Tabular: Tabular reports are the simplest and fastest way to look at data. Similar to a spreadsheet, they consist simply of an ordered set of fields in columns, with each matching record listed in a row. Tabular reports are best for creating lists of records or a list with a single grand total. They can't be used to create groups of data or charts, and can't be used in dashboards unless rows are limited. Examples include contact mailing lists and activity reports.
2. Summary: Summary reports are similar to tabular reports, but also allow users to group rows of data, view subtotals, and create charts. They can be used as the source report for dashboard components. Use this type for a report to show subtotals based on the value of a particular field or when you want to create a hierarchical list, such as all opportunities for your team, subtotalled by Stage and Owner. Summary reports with no groupings show as tabular reports on the report run page.
3. Matrix: Matrix reports are similar to summary reports but allow you to group and summarize data by both rows and columns. They can be used as the source report for dashboard components. Use this type for comparing related totals, especially if you have large amounts of data to summarize and you need to compare values in several different fields, or you want to look at data by date and by product, person, or geography. Matrix reports without at least one row and one column grouping show as summary reports on the report run page.
4. Joined: Joined reports let you create multiple report blocks that provide different views of your data. Each block acts like a “sub-report,” with its own fields, columns, sorting, and filtering. A joined report can even contain data from different report types.
3. What are different kinds of dashboard component?
1. Chart: Use a chart when you want to show data graphically.
2. Gauge: Use a gauge when you have a single value that you want to show within a range of custom values.
3. Metric: Use a metric when you have one key value to display.
Enter metric labels directly on components by clicking the empty text field next to the grand total.
Metric components placed directly above and below each other in a dashboard column are displayed together as a single component.
4. Table: Use a table to show a set of report data in column form.
5. Visualforce Page: Use a Visualforce page when you want to create a custom component or show information not available in another component type
6. Custom S-Control: Custom S-Controls can contain any type of content that you can display or run in a browser, for example, a Java applet, an ActiveX control, an Excel file, or a custom HTML Web form.
4. How to schedule a class in Apex?
To invoke Apex classes to run at specific times, first implement the Schedulable interface for the class, then specify the schedule using either the Schedule Apex page in the Salesforce user interface, or the System.schedule method.
After you implement a class with the Schedulable interface, use the System.Schedule method to execute it. The scheduler runs as system: all classes are executed, whether the user has permission to execute the class or not.
The System.Schedule method takes three arguments: a name for the job, an expression used to represent the time and date the job is scheduled to run, and the name of the class.
Salesforce only adds the process to the queue at the scheduled time. Actual execution may be delayed based on service availability. The System.Schedule method uses the user's time zone for the basis of all schedules. You can only have 25 classes scheduled at one time.
5. What is PermissionSet?
PermissionSet represents a set of permissions that’s used to grant additional access to one or more users without changing their profile or reassigning profiles. You can use permission sets to grant access, but not to deny access.
Every PermissionSet is associated with a user license. You can only assign permission sets to users who have the same user license that’s associated with the permission set. If you want to assign similar permissions to users with different licenses, create multiple permission sets with the same permissions, but with different licenses.
6. What are governor limits in Salesforc.com?
Governor limits are runtime limits enforced by the Apex runtime engine. Because Apex runs in a shared, multitenant environment, the Apex runtime engine strictly enforces a number of limits to ensure that code does not monopolize shared resources. Types of limits that Apex enforces are resources like memory, database resources, number of script statements to avoid infinite loops, and number of records being processed. If code exceeds a limit, the associated governor issues a runtime exception that cannot be handled thereby terminating the request.
7. What are custom settings?
Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database. This data can then be used by formula fields, validation rules, Apex, and the SOAP API.
There are two types of custom settings:
List Custom Settings
A type of custom setting that provides a reusable set of static data that can be accessed across your organization. If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it. Data in list settings does not vary with profile or user, but is available organization-wide. Because the data is cached, access is low-cost and efficient: you don't have to use SOQL queries that count against your governor limits.
Hierarchy Custom Settings
A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users. The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value. In the hierarchy, settings for an organization are overridden by profile settings, which, in turn, are overridden by user settings.
8. What are different portals in Salesforce.com?
Partner Portal:
A partner portal allows partner users to log in to Salesforce.com through a separate website than non-partner users. Partner users can only view & edit data that has been made available to them. An organization can have multiple partner portals.
Customer Portal:
Customer Portal provides an online support channel for customers allowing them to resolve their inquiries without contacting a customer service representative. An organization can have multiple customer portals.
9. What is the use of Salesforce.com Sites?
Force.com Sites enables you to create public websites and applications that are directly integrated with your Salesforce organization without requiring users to log in with a username and password. You can publicly expose any information stored in your organization through a branded URL of your choice. Sites are hosted on Force.com servers and built on native Visualforce pages. You can user authentication to a public site using customer portal.
10. What actions can be performed using Workflows?
1. Email Alert:
Email alerts are workflow and approval actions that are generated using an email template by a workflow rule or approval process and sent to designated recipients, either Salesforce users or others. Workflow alerts can be sent to any user or contact, as long as they have a valid email address.
2. Field Update:
Field updates are workflow and approval actions that specify the field you want updated and the new value for it. Depending on the type of field, you can choose to apply a specific value, make the value blank, or calculate a value based on a formula you create.
3. Task:
Assigns a task to a user you specify. You can specify the Subject, Status, Priority, and Due Dateof the task. Tasks are workflow and approval actions that are triggered by workflow rules or approval processes.
4. Outbound Message:
An outbound message is a workflow, approval, or milestone action that sends the information you specify to an endpoint you designate, such as an external service. An outbound message sends the data in the specified fields in the form of a SOAP message to the endpoint.
Interview questions for Salesforce developers with answers
1. Through Sales force Import wizard how many records we can import?
Using Import wizard, we can upload up to 50,000 records.
2. Import wizard will support for which Objects?
Only Accounts, Contacts and custom object’s data can be imported. If we want to import other objects like Opportunities and other object’s data, then we need to go for Apex Data Loader.
3. What is app exchange?
The developed custom applications can be uploaded into the app exchange so that the other person can share the application.
4. What is a VLOOKUP in S.F?
VLOOKUP is actually a function in salesforce which is used to bring relevant value to that record from another record automatically.
5. When I want to export data into SF from Apex Data Loader, which Option should be enable in Profile?
Enable API
6. What is a web - lead?
Capturing a lead from a website and routing it into lead object in Sales Force is called wed-lead (web to lead).
7. What are the Types of Account and difference between them?
We have two types of accounts.
Personal accounts
Business accounts
In personal accounts, person’s name will be taken as primary considerations where as in business accounts, there will be no person name, but company name will be taken into consideration.
8. What is a Wrapper Class in S.F?
A wrapper class is a class whose instances are collections of other objects.
9. What are formula and Rollup Summary fields and Difference between them? When should Rollup- Summary field enable?
Formula: A read-only field that derives its value from a formula expression that we define. The formula field is updated when any of the source fields change.
Rollup Summary: A read-only field that displays the sum, minimum, or maximum value of a field in a related list or the record count of all records listed in a related list.
10. What is a Sandbox? What are all the Types of sandboxes?
Sandbox is the exact replica of the production.
3 Types:
Configuration
Developer
Full
Recently asked Salesforce interview questions
1. Explain "Mixed_DML_Operation" error.
2. Do Apex test methods persist data to the Salesforce.com data store?
3. Is it necessary to write Apex test classes for custom controllers?
4. Explain Apex heap limit?
5. Is it possible to bypass Apex governor limits?
6. Which governor limit you used to face frequently?
7. Explain the relationship between Account and Contact?
8. Briefly explain view state in Apex?
9. How to enable view state in development mode?
10. How to bulkify trigger?
Salesforce Interview questions with answers Part 1
1. What is an alternative for workflow?
Trigger or Schedule apex.
2. What is the use of isNew()?
Checks whether the record is newly created.
3. If you organization Workflow's limit is over and if you want to write a workflow immediately and it critical, what will you do?
1. De-activate any workflows and create it using trigger and then do the new workflow.
Or
2. Go for Schedule apex or trigger to achieve this workflow.
4. How many users have you supported?
Number of users in the Salesforce organization. It helps the recruiter to understand your scalability.
5. How many records can be retrieved by List data type if the page attribute in read only?
10,000.
Salesforce interview questions in Web Service API
1. How to use external WSDL in Salesforce application?
2. Difference between REST API and SOAP API?
3. What is the use of Bulk API?
4. Have you worked in Siebel to Salesforce data Migration?
5. How to fetch data from another Salesforce instance using API?
6. How to implement Salesforce to Salesforce connection?
7. What is the use of Metadata API?
8. How to call Apex method from a Custom Button?
9. Is it possible to access the data via RSS feeds using API?
10. Difference between Enterprise WSDL and Partner WSDL?
11. How to convert a Rich Text Area Field's Image for API Upload?
12. Have you worked in integrating Google chart?
13. How to Interact with the Force.com REST API from PHP?
14. What are callouts?
15. Any idea on Salesforce API Integration Using SOAP-based Web Services?
16. What is the use of JSON?
17. What is the use of Chatter REST API?
Salesforce interview questions to be expected
1. How to reset password for particular users in SaleSforce?
2. How to grant your administrator or support personnel to login as you?
3. How to find out what Salesforce edition you have?
4. How to import attachments using Apex Data Loader?
5. How to get security token in Salesforce?
6. Difference between WhoID and WhatID?
7. Difference between ISBLANK and ISNULL?
8. Difference between Sandbox and Developer Edition?
9. How to get fields for sObject using Apex?Apex and Visualforce?
10. How to truncate string using apex in Salesforce?
11. How to get Salesforce.com Organization ID?
12. How to convert sObject to String in Apex?
13. How to free list memory using apex?
14. How to get a subquery field value using Apex?
15. How do I configure proxy settings for Java?
16. How to send email to a public group using apex?
Salesforce interview stuffs
1. How to add Row limit and Dashboard settings for Tabular report?
2. How to find total no of records using SOQL?
3. How to use a list variable in SOQL?
4. How to edit Report folder?
5. How to schedule export?
6. How to get values from apex:inputField in controller?
7. How to include external Javascript file in VF?
8. How to use Custom Labels in Visualforce page and Apex?
9. How to schedule a report?
10. How to display multiple Dashboards in home page?
11. How to track field history in Salesforce?
12. How to convert lead using Apex?
13. How to create Sandbox?
14. How to make approval process active?
15. How to execute SOQL query in Developer Console?
Salesforce Developer Interview questions
1. If the OWD for account is "Private", is it possible for a user in higher hierarchy to see the records owned by the user below his/her hierarchy?
2. If without sharing class calls with sharing class, how the with sharing class behaves(with sharing or without sharing)?
3. How to extend report access to group of users?
4. How to by pass governor limits?
5. Difference between heap limits and governor limits?
6. How to schedule Batch apex?
7. How to update a text field based on Date field?
SFDC Interview Questions
1. How to get a count of million records from object?
2. Maximum how many extensions can use in VF page?
3. Tasks are storing in which object?
4. Explain about batch apex?
5. Best practise for writing triggers
6. Explain some of the features about spring 12?What all are the reports type we can create in salesforce?
7. What is the difference between Summary report and Matrix report?
8. What is the difference between Import Wizard, Dataloader and Dataloader CLI?
9. Major difference between before trigger and after trigger, in which scenario we need to use these?
10. how to control recursion operation of trigger? (Ex: writing update inside of after trigger)
11. Order of ececution of validation , workflow rules?
12. If method overrided in custom controller and used in VF page as extension then which method will call?
13. What are the workflow actions?
14. Explain about your roles and profile?
15. What is <apex:define>, <apex:actionFunction>, <apex:actionRegion> tags?
16. Explain analytical snapshot?
17. When can we use workflow and when can we use trigger?
18. What is SOQL and SOSL?
19. What is the governor limits in SOQL and SOSL?
20. What is the return type of SOSL?
21. Explain about dashboard?
22. Explain about future method and governor limits of future method?
23. What is StandardController and What is CustomController and when will you go for CustomController?
24. If one client is newly starting with salesforce then what all are the things you will consider and what edtion you will suggest?
25. Explain about different Sandboxes?
26. What kind of environment you will follow if we need to deploy or release changes to production every month?
27. Salesforce interview questions
28. 1. How to force lead assignment rule via Apex while updating or adding the Lead?
2. How to implement the pagination in SOQL ?
3. How to access custom controller-defined Enum in custom component ?
4. How to generate the random string or random password using Apex?
5. What is dynamic binding in Salesforce?
6. How to convert lead using Apex?
7. Consider total 90k records present in Salesforce and you have used the count() method of soql. What will be output of it?
8. How can you determine that email is actually sent or not from the Salesforce?
9. In Salesforce.com which fields are indexed automatically?
10. Give any scenario when you cannot change the currency field type to numeric type?
29. Salesforce basic Interview questions
30. 1. Workflow rules can perform which of the following actions using standard Salesforce.com functionality?
A. Update a Field
B. Send an Outbound Message
C. Send an Email
D. Create a Task
2. The Organization ID (Org ID) of a sandbox environment is the same as its production environment.
A. True
B. False
3. Jim is a Salesforce.com system administrator for Universal Products Inc (UPI). UPI currently uses org-wide public read/write for accounts. The sales department is concerned with sales reps being able to see each other's account data, and would like sales reps to only be able to view their own accounts. Sales managers should be able to view and edit all accounts owned by sales reps. The marketing department at UPI must be able to view all sales representative's accounts at UPI. What steps must be configured in order to meet these requirements?
A. Change Org-Wide Security for Accounts to Private
B. Add Sharing Rule to Provide Read Access to Marketing for Sales Representative's Accounts
C. Configure Roles:
Executive
-Marketing (Subordinate of Executive)
-Sales Management (Subordinate of Executive)
--Sales Representatives (Subordinate of Sales Management)
D. Create Sharing Rule to allow Sales Management to view/edit Sales Representatives' accounts
31.
32.
4. The Data Loader can be used with Group Edition.
A. True
B. False
5. What type of object relationship best describes the relationship between Campaigns and Leads (using standard Salesforce functionality)?
A. Many to Many
B. Many to One
C. One to One
6. Which of the following are valid Salesforce license types?
A. Service Cloud
B. Platform (Force.com)
C. Customer Portal
D. Gold Edition
E. Unlimited Edition
F. Platinum Portal
7. Which of the following are either current or future planned offerings by Salesforce.com or its subsidiaries?
A. Touch
B. Flow / Visual Process Manager
C. Heroku
D. Sites / Siteforce
E. StartForce
8. Bob is a Salesforce.com consultant and is responsible for the data migration of an implmentation for his client, Universal Systems Inc (USI).
USI wants to migrate contacts and accounts from their legacy CRM system, which has a similar data model (many contacts per one account; primary keys exist on contact and account).
USI has provided Bob an export in CSV format of contacts and accounts of their legacy CRM system. What method should Bob use to migrate the data from the legacy system into Salesforce?
A. An ETL or similar data migration tool must be used
B. Create an external ID for account and use the data loader to upsert the data with relationships intact
C. Insert accounts into Salesforce and use Excel vlookup to match the legacy ID to the Salesforce ID in order to insert associated contacts
9. Universal Products Inc (UPI) wants to perform a drip marketing campaign on leads generated through website submissions. What is the ideal method to execute this type of campaign?
A. Use Salesforce campaign management and series of workflow rules
B. Integrate Salesforce with a 3rd party vendor to perform marketing automation
C. Export the data from Salesforce and manually send via 3rd party tool
10. Which of the following are valid ways to migrate metadata?
A. Data Loader
B. Change Sets
C. Force.com IDE
D. ANT Migration Toolkit
Will the following trigger work ? - Salesforce Interview Question
trigger tgrCounter on Mileage__c (after insert, after update)
{
List <Mileage__C> MilToupdate = new List<Mileage__C>();
for(Mileage__cMlg : Trigger.new)
{
Mlg.Counter__c = Mlg.Counter__c + 1;
MilToupdate.add(Mlg);
}
updateMilToupdate;
}
Answer:
No.
The reason is it will cause recursion.
Will the following snippet work ? - Salesforce Interview Question
public class insst1
{
public void sav()
{
for(integer i=0;i<150;i++)
{
Lead c=new lead();
c.FirstName='Mr'+i;
c.company='XYZ';
insert c;
}
}
}
Answer:
No.
The reasons are
Total number of DML statements issued - 150
LastName is a mandatory field.
Salesforce Sample Interview Questions
1. What is Apex?
2. What is VisualForce?
3. What is an S-Control?
4. What is the difference between Visualforce and S-Control?
5. What is mini page layout?
6. What are wrapper classes?
7. When do we use wrapper classes?
8. What are the available editions in Salesforce?
9. What is the difference between different editions of Salesforce?
10. What is the difference between Sandbox and Developer environment?
11. How to schedule export or take the backup of Salesforce?
12. What are sharing settings?
13. What are recursive triggers? How can we avoid the recursion problem?
14. What are apex governer limits?
15. Do governer limits apply to sandbox instances?
16. What are activities?
17. What is the difference between task and event?
18. List and describe features used to set permission and data access in custom app.
19. How will you create a user?
20. What is the difference between page layout and related list?
21. What are person accounts?
22. How forecasting works in salesforce?
23. What are system fields? Can you name some of them.
24. What are default components available on home page?
25. How do I change the home page layout?
26. How many types of reports I can create in salesforce? What are they?
27. What is dashboard? How is it created?
28. What is page layout?
29. What is related list?
30. What are recent release features?
31. How do you use actionFunction tag?
32. What is the difference between actionFunction and actionSupport tags?
33. What is actionPoller?
34. What is the difference between ISNULL and ISBLANK?
35. How do you do FileUpload using visualforce?
36. What is appExchange? How can I host my application on appExchange?
37. What is batch apex?
38. When will you use batch apex and what is the best practice?
39. What is apex scheduler?
40. What are webservice callouts?
41. Explain how MVC architecture fit for Salesforce.
42. How will you create relationship between objects?
43. How many types of relationships are possible between objects?
44. How many data types are supported for a Custom Objects standard field name?
45. How do you hide header and side bar on visualforce page?
46. What is the difference between standard and custom controller?
47. What is controller extension?
48. How do you read parameter in visualforce page?
49. How many dependent drop downs can be put in visualforce page?
50. What is the maximum size of the PDF generated on visualforce attribute renderAs?
51. How can we check the objects accessibility on visualforce page?
52. How many rows are returned by a list controller?
53. What is custom component?
54. What is assignTo attribute and what is its use?
Salesfoce.com Interview stuff
1. Define Profile and role?
2. What are all the types of relationships in soql?
3. What are the types for run Batch class?
4. Explain Dynamic Apex like Apex Describe information?
5. Explain Remote Action in apex?
6. What is View state?
7. Explain Pagination in Visual force page?
8. Can we use trigger.new in After Delete trigger?
9. Explain Future methods and limitation?
10. What is difference between Sales Team and Account Team?
11. How can we change standard Time format in to Salesforce and Local?
12. What is the difference between Action Support and Action Fuction?
13. What is the difference between Command Lind and Command Button?
14. Explain Security in Salesforce?
15. Inline Visual force page?
16. How to remove redundancy in List?
17. If we are writing Global class how we can secure to external user?
18. What is the use of Junction object?
19. How we can create custom field from page layout?
20. Lead conversion?
21. Can we create contact without account?
22. What is Field Set and why we are using this?
23. Define Permission set?
24. What are partner and Enterprise WSDL?
25. What is difference between ActionFuction and ActionSupport?
26. Explain Reports in Salesforce?
27. Criteria based sharing?
28. Explain Record sharing and types?
SFDC Interview questions
Important Salesforce.com expected interview questions are as follows:
1. What is your Strong point in Salesforce?
2. How you can with SQL injections in Salesforce?
3. Can you explain test methods in Salesforce?
4. How did you display error messages on VF Pages in Salesforce?
5. Can you explain relationships in Salesforce?
6. What are SOQL limitations?
7. How can bypass SOQL statement to fetch more 1000 records?
8. What job did you like more in your carrier?
9. Can you explain about SFDC controllers?
10. Can you explain about Sales process?
11. What is a set in Salesforce deployments?
12. How many ways you can invoke a work flow?
13. What are governor limits can you explain about it?
14. What are Role, Profile and Security?
15. How do you handle SOQL problem in Trigger?
16. How you can access JQuery in VF page?
17. What is change set in Salesforce?
18. What is transient variable in Salesforce?
19. How you can measure trigger performance?
Search my blog for answers.
Cheers!!!
Interview questions for Salesforce developers with answers
1. Through Sales force Import wizard how many records we can import?
Using Import wizard, we can upload up to 50000 records.
2. Import wizard will support for which Objects?
Only Accounts, Contacts and custom object’s data can be imported. If we want to import other objects like Opportunities and other object’s data, then we need to go for Apex Data Loader.
3. What is app exchange?
The developed custom applications can be uploaded into the app exchange so that the other person can share the applicaition.
4. What is a VLOOKUP in S.F?
VLOOKUP is actually a function in sales force which is used to bring relevant value to that record from another record automatically.
5. When I want to export data into SF from Apex Data Loader, which Option should be enable in Profile?
Enable API
6. What is a web - lead?
Capturing a lead from a website and routing it into lead object in Sales Force is called wed-lead (web to lead).
7. What are the Types of Account and difference between them?
We have two types of accounts.
Personal accounts
Business accounts
In personal accounts, person’s name will be taken as primary considerations where as in business accounts, there will be no person name, but company name will be taken into consideration.
8. What is a Wrapper Class in S.F?
A wrapper class is a class whose instances are collections of other objects.
9. What are formula and Rollup Summary fields and Difference between them? When should Rollup- Summary field enable?
Formula: A read-only field that derives its value from a formula expression that we define. The formula field is updated when any of the source fields change.
Rollup Summary: A read-only field that displays the sum, minimum, or maximum value of a field in a related list or the record count of all records listed in a related list.
10. What is a Sandbox? What are all the Types of sandboxex?
Sandbox is the exact replica of the production.
3 Types:
Configuration
Developer
Full
Salesforce Interview questions with answers
1. What is the difference between Lookup Relationship and Master-Detail Relationship?
Master – Detail Relationship :
1. We cannot create master – detail relationship type fields directly if records already exists. Instead we have to first create Look up fields then fill all the records with that lookup filed. After that we can convert the lookup fields to master – detail relationship.
2. If we delete master records then detail (Child) records are deleted.
3. It creates the parent(master) child(Detail) relationship between objects.
Look up relationship :
1. Look up relationship creates relations between two objects.
2. If we delete any object then other object is not deleted
2. True or False? If you were to delete a record that had a lookup to a child object, all child object records would get deleted as well.
False
3. Where is the view Account hierarchy link?
http://infallibletechie.blogspot.in/2012/10/account-hierarchy-in-salesforce.html
4. Define Account Hierarchy?
Account hierarchy defines the Hierarchy of accounts. It is displayed in tree structure.
5. Where can you make a field required?
1. During creation of field
2. Page layouts
3. Validation rules
6. What type of Workflow Alerts are there?
1. Email Alert
2. Outbound Message
3. Task
4. Field Update
7. Validation Rules, What are they use for in Salesforce?
Validation rules are used to maintain data format and consistency.
8. What is Dataloader?
The Data Loader is an easy to use graphical tool that helps you to get your data into Salesforce objects. The Data Loader can also be used to extract data from database objects into any of the destinations mentioned above. You can even use the Data Loader to perform bulk deletions by exporting the ID fields for the data you wish to delete and using that source to specify deletions through the Data Loader.
9. What is the difference between Profiles and Roles in Salesforce.com?
Roles controls record level access.
Profiles controls object level access.
Interview questions for Salesforce Developer
1. What are permission sets and how do they differ from profiles?
2. When will you use profile and permission sets together?
3. Difference between roles and profiles?
4. What are controllers?
5. What are extensions?
6. Difference between controllers and extensions?
7. What is a standard controller and custom controller?
8. What is the Minimum number of queries required to query for 2 level, 3 level relationships?
9. Define recursive triggers?How will you avoid recursive triggers?
10. What is use of with sharing and without sharing in Apex class?
11. What deployment methods have you used? List advantages and disadvantages of each?
12. How will you load data for a child object?
13. Difference between a look up and master-detail relationship?
14. Explain, the way you will query child from parent and parent from child
15. What are sharing rules, when do you used sharing rules?
16. Explain lead to opportunity conversion?
17. What are record types? Why are the record types used?
18. When is page layout assignment used?
19. How many types of salesforce licenses are there? What are the limits?
20. What is batch apex? Why do we use batch apex?
21. What is the use of @future annotation?
22. What are test classes, what is the test coverage you need to move a code into production?
23. Can I directly change code in salesforce production org?
24. How do I log a case with salesforce?
25. How can I change owner for multiple cases at once (example - from Rob to John)
26. Difference between a workflow rule and approval process?
27. What is the order of execution of workflow rules, validation rules, triggers?
28. Explain Salesforce.com security implementation with respect to Profiles, Roles and Hierarchy, Sharing rules, OWD(org wide default settings)? Also, specify which is the most restrictive security setting?
29. What are custom report types?
30. What are different types of reports you can create?
31. What is Trigger?old and Trigger?New
32. What is ApexPages?addMessage
33. How is a pdf generated using visual force page?
34. How can I redirect user to a page after processing is completed in the controller/extension?
35. What are custom settings? When will you use custom settings?
36. What are Action Support, Action Function and Action Poller used for?
No comments:
Post a Comment