Interview+Questions Level+2+-+Final
Interview+Questions Level+2+-+Final
1. What is Apex?
Ans: It is the technology of salesforce.com which is similar to Java programming with object
oriented concepts and to write our own custom logic.
2. What is S-Control?
Ans: S-Controls are completely based on Javascript. These S- Controls are deprecated in 2007
because it is not supporting Apex Language properly. Now S-Controls are superseded by
Visualforce now.
3. What is a Visualforce Page?
Ans: Visualforce is the new markup language from salesforce, by using which, we can render the
standard styles of salesforce.
We can still use HTML here in Visualforce. Each visualforce tag always begins with apex
namespace.
All the design part can be determined by using Visualforce Markup Language and the business
logic can be written in custom controllers associated with the Page.
4. Will Visual force still supports the merge fields usage like S-control ?
Ans: Yes. Just like S-Controls, Visualforce Pages support embedded merge fields, like the
{!$User.FirstName}
{!Account.Name}
Interview Questions
7. What are the types of sandboxes and what is the difference?
Ans: Salesforce gives us the ability to create multiple copies of organization in separate
environments for a variety of purposes, such as testing and training, without compromising the data
and applications in Salesforce production organization. These copies are called sandboxes and are
nearly identical to Salesforce production organization
Sandboxes are completely isolated from Salesforce production organization, so operations we
perform in sandboxes do not affect Salesforce production organization, and vice versa.
The sandbox types are:
Configuration Only:
Configuration-only sandboxes copy all of production organization's reports, dashboards, price
books, products, apps, and customizations under Your Name ->Setup, but exclude all of
organization's standard and custom object records, documents, and attachments. Creating a
configuration-only sandbox can decrease the time it takes to create or refresh a sandbox from
several hours to just a few minutes, but it can only include up to 500 MB of data. We can refresh
a configuration-only sandbox once per day.
Developer Sandbox:
Developer sandboxes are special configuration-only sandboxes intended for coding and testing
by a single developer. Just like configuration-only sandboxes, developer sandboxes copy all
application and configuration information to the sandbox. Developer sandboxes are limited to
10 MB of test or sample data, which is enough for many development and testing tasks. We can
refresh a developer sandbox once per day.
Full:
Full sandboxes copy entire production organization and all its data, including standard and
custom object records, documents, and attachments.
8. How to schedule export or take the backup of salesforce?
Ans: Salesforce allows us to obtain a copy of all data using the data export feature. We can
generate backup files manually once every six days or schedule them to generate automatically at
weekly or monthly intervals.
The backup file will come to us in the form a zip file that contains all of organizations data in a set of
CSV (comma-separated values) files. If we do not see the data export feature, contact
salesforce.com support to have the Data Export Service activated.
Interview Questions
9. Do governor limits apply to sandbox instances?
Ans: Governor Limits do apply to all Salesforce instances (trial, developer, and production or
sandbox environments). However code coverage and successful execution of test classes is only
enforced when deploying to a production environment.
10. What is difference in ISNULL and ISBLANK?
Ans: Both Determines if an expression has a value and returns TRUE if it does not. If it contains a
value, this function returns FALSE
ISBLANK (expression): The expression allows both number and text fields.
Both number and text fields
ISNULL(expression): Here the expression allows only number fields.
Only number fields
11. What is the difference between the Workflow and Approval Process?
Ans: Workflow Rules and Approval Processes can be used together
Workflow Rules
Are triggered upon Save
Consist of one set of criteria and actions
Approval Processes
Are triggered only when a user clicks Submit for
Approval button
Consist of multiple steps
Have an entry criteria, step criteria and step
actions
Have Initial submission actions, rejection and
approval actions and actions for each step
Some attributes cant be modified , processes
must be deactivated before they can be deleted
Text
HTML with Letter Head
Custom HTML
Visualforce
Interview Questions
Ans: 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. Thus, we can say that Roll up
summary field can only be created on Master object.
15. What are the Record Types?
Ans: Record types used to display different picklistvalues and page layouts to different users
based on their profiles
16. Have you implemented Record Types in your project?
Ans: Yes, we have created Record Types and we have done Page Layout Assignment also
17. How to make the Record type as a default?
Ans: By using the Profiles.
Go to the particular profile and by using Record Type Settings we can make the Record Type as a
default
18. What will happen if the Account is deleted?
Ans:If the Account is deleted then Contact, Opportunity will also be deleted from Salesforce
which are related to that Account.
19. How many types of the relationship fields available in Salesforce?
Ans: There are four types of relationships in salesforce
a.
b.
c.
d.
Master Detail
Many to Many
Lookup
Hierarchical (It is available only on User Object)
20. What is Hierarchical Relationship? Does you ever used in your project?
Ans:It is the relationship available on User object which allows users to click a lookup icon and
select another user from a pop-up list.
This type of relationship is a special lookup relationship available only for the user object. It
allows creating a Manager Field on the user object to relate another user.
This relationship will acts as a Self relationships.
21. How to create many too many relationships between object?
Interview Questions
Ans: Create one custom object, which should have autonumber as unique identification and
create two Master - Detail relationships for this object. And this Object is called as Junction
object.
22. What is JUNCTION object?
Ans:A Junction object is a Custom object with two Master-Detail relationships. Using this custom
junction object, we can model a many-to-many relationship between two objects.
23. Say If we created a junction object A with masters B and C? Suppose if we try to delete the
records in C what happens to the child?
Ans: Childs will also delete as per the properties of Master- Detail relationship.
24. In Which sequence Trigger and automation rules run in Salesforce.com
Ans: The following is the order salesforce logic is applied to a record.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
25. If one object in Salesforce have 2 triggers which runs before insert. Is there any way to
control the sequence of execution of these triggers?
Ans: Salesforce.com has documented that trigger sequence cannot be predefined. As a best
practice create one trigger per object and use comment blocks to separate different logic blocks.
26. How to delete the User from Salesforce?
Ans: As per now, salesforce does not allow to delete any user, however we can deactivate the
user.
27. How to delete the users data from Salesforce?
Interview Questions
Ans: To delete the Users Data go to Your Name -> Setup -> Administration Setup -> Data
Management -> Mass Delete Record, from there select the objects like Account, Lead etc and in
criteria select the users name and delete all records of that user related to particular object.
28. How to restrict the user to see any record lets say opportunity?
Ans: Set up opportunity sharing to be private in Organization Wide Defaults. If both users are
admins or have view all permissions at profile level on opportunity, then that overrides private
sharing.
29. What is the difference between trigger.new and trigger.old in Apex?
Ans: Trigger.new : Returns a list of the sObject records which we are going to insert into
database
Note that this sObject list is only available in insert and update triggers, and the records can only
be modified in before triggers
Trigger.old: Returns a list of the sObject records which already there in database
Note that this sObject list is only available in update and delete triggers.
30. How to restrict any Trigger to fire only once?
Ans: Triggers can fire twice, once before workflows and once after workflows. For this, add a
static boolean variable to a class, and check its value within the affected triggers.
31. What is difference between WhoId and WhatId in the Data Model of Task?
Ans: WhoID refers to people things. So that would be typically a Lead ID or a Contact ID
WhatID refers to object type things. That would typically be an Account ID or an Opportunity ID
32. How to display error messages in the visualforcepage?
Ans:In Apex use below code to create the error message for visualforce.
Apexpages.addMessage(newApexPages.Message (ApexPages.Severity.ERROR, 'Required fields are
missing. '));
In Visualforce page add below tag where we want to display the error message.
<apex:pageMessages></apex:pageMessages>
Interview Questions
Ans: Apex mainly consists of the syntax from the well-known programming language Java.As a
practice of encapsulation in java we declare any variable as private and then create the setters
and getters for that variable.
Interview Questions
Ans: It is the relationship which is used to connect the two objects
Properties of Lookup Relationship:
39. What is Master Detail relationship and look up relationship in Salesforce? What is the
difference?
Ans: The Master-Detail and Look up relationships are used to connect two objects. They are one
to many relationships. The differences are:
Lookup Relationship
We can create 25 lookup relationships for
both standard and custom objects
Lookup Relationship can be created if
records already exists
If we deletes the parent record, then
Childs will not be deleted
Optional
The Ownership and the sharing of a child
record are not determined by the parent
Master-Detail Relationship
We can create 2 Master-Detail
relationships for custom objects
Master-Detail relationship cannot be
created if records already exists
If we delete the parent record, then childs
will be deleted automatically
Mandatory
The Ownership and the sharing of a detail
record are determined by the Master
Interview Questions
record
Editable field
record
Read Only field
Interview Questions
Map<String,ISO_Country__c>mapCodes = ISO_Country__c.getAll();
// display the ISO code for India
System.debug(ISO Code: +mapCodes.get(INDIA).ISO_Code__c);
//Alternatively we can return the map as a list:
List<String>listCodes = ISO_Country__c.getAll().values();
46. What happen if child have two master records and one is deleted?
Ans: Child record will be deleted.
This question will mainly ask when they asked how to achieve many to many relationships. Then
we can answer by using Junction Object and two master detail relationships. Then next question
would be what will happen if we delete one master record?
47. What is Difference in render, rerender and renderas attributes of visualforce?
Ans: render It works like display property of CSS. Used to show or hide element.
rerender: If we want to refresh partial page in Visual force page we have to use rerender
render as: By using this we can convert entire visual force into PDF,doc and excel. The syntax is
Render as = pdf
48. What is Scheduler class in Apex?
Ans: The Apex class which is programed to run at pre-defined interval.
Class must implement schedulable interface and it contains method named execute().
There are two ways to invoke scheduler:
1. Using UI
2. Using System.schedule
The classes which implements interface schedulable get the button texted with Schedule,
when user clicks on that button, new interface opens to schedule the classes which implements
that interface.
To see what happened to scheduled job, go to Monitoring | Scheduled jobs
49. Explain Permission sets?
Ans:A permission set is a collection of settings and permissions that give users access to various
functions. The settings and permissions in permission sets are also found in profiles, but
permission sets extend users functional access without changing their profiles.
A profile will have many users. If we change the permissions at profile level, then all the users
associated with that profile will change. If we want extend the permissions for only for particular
users, and then we have to create permission set and assign it to the user.
Interview Questions
50. What is the difference between External ID and Unique ID?
Ans:External ID field:This is a field that usually references an ID from another (external) system.
Ex: For instance, if the customer has an Oracle Financials system that they will be linking with
salesforce.com, it may be easier for them to be able to refer to the Oracle ID of account records
from within salesforce. So they would create an external ID in salesforce.com and they would
load the Oracle ID into that field for each account. They can then refer to that ID field, rather
than the salesforce.com id.
Note: 1. if we have an external ID field, the field becomes searchable in the sidebar search. We
also can use the upsert API call with the external ID to refer to records.
2. External Id available for Text, Number and Email field types.
3. External Id is used in upsert operations in the Data Loader
If external id is not matched then a new record is created.
If external id matched once then record will be updated.
If external id is matched multiple times then error occurs.
Unique ID field:
This is a setting for the field that will prevent us from using the same value in multiple records
for the unique field.
So if I create a 5 character text field and make it unique, and I create a record with the value
12345 i will not be able to create another record with that same value in the unique field. If i
try to do so, I will get an error saying that the value is already in use.
51. How to get the picklist value in Apex class?
Ans:Using Dynamic apex, we can achieve this. On object of field type picklist, call getDescribe().
Then call the getPicklistValues() method. Iterate over result and create a list and bind it to
<apex:selectOptions>.
52. What is the Custom Controller?
Custom Controller:A custom controller is a class written in Apex that implements all of a page's
logic.
If we use a custom controller, we can define new behaviors, but we must also reimplement
anyfunctionality that was already provided in a standard controller.
53. What are the types of controller in visual force?
Ans:There are basically two types of Controller in Visual force page.
1. Standard Controller and
Interview Questions
2. Custom Controller
3. Controller Extensions
Controller definition:AVisualforce controller is a set of instructions that specify what happens
when a user interacts with the components specifiedin associated Visualforce markup, such as
when a user clicks a button or link.
Controllers also provide access to the data thatshould be displayed in a page, and can modify
component behavior.
Standard Controller:A standard controller consists of the same functionality and logic that is
used for a standard Salesforce page. For example, if you use the standard Accounts controller,
clicking a Save button in a Visualforce page results in the same behavior as clicking Save on a
standard Account edit page.
Custom Controller:A custom controller is a class written in Apex that implements all of a page's
logic.
If we use a custom controller, we can define new navigation elements or behaviors, but we must
also reimplementanyfunctionality that was already provided in a standard controller.
Controller Extensions:A controller extension is a class written in Apex that adds to or overrides
behavior in a standard or custom controller.Extensions allow us to leverage the functionality of
another controller while adding our own custom logic.
54. How many Controllers can be used on single VF page?
Ans: Only one controller can be used salesforce. Other than them, Controller extension can be
used. There may be more than one Controller extention.
<apex:pagestandardController="Account" extensions="ExtOne,ExtTwo" showHeader="false">
</apex:page>
if the extension classes ExtOne and ExtTwo, both have the method getFoo() then the method
of ExtOne will be executed.
A controller extension is any Apex class that contains a constructor that takes a single argument
of type ApexPages.StandardController or CustomControllerName, where
CustomControllerName is the name of a custom controller that we want to extend.
55. Explain System.runAs()?
Ans: Generally, all Apex code runs in system mode, and the permissions and record sharing of
the current user are not taken into account. The system method, System.runAs(), lets us to
write test methods that change user contexts to either an existing user or a new user. All of that
users record sharing is then applied.
Interview Questions
System.runAs(u) {
// The following code runs as user 'u'
Account a= new Account();
a.Name=Test Account;
insert a;
}
SOSL
Stands for "Salesforce object query language"
SOSL retrieves the records from the database
using FIND keyword
Need to write different SOQL for different
object.
Can be used in Apex class and Triggers.
Interview Questions
Ans:Modify All Data : Create, edit, and delete all organization data, regardless of sharing
settings.
Modify All : Give All (Read, Create, Add, Delete) permission to selected Object.
62. If i want record level access then what should i use from Salesforce security model?
Ans: Manual Sharing (Enabling Sharing Button at the profile level)
63. If i want Object level accesses then what should i use from Salesforce security model?
Ans: Profile
64. In OWD (Organization wide Defaults), can i change the setting Grant Access Using
Interview Questions
70. In class declaration if we dont write keyword with sharing then it runs in system mode then
why keyword without sharing is introduced in apex?
Ans: Lets take example, there is classA declared using with sharing and it calls classB method.
classB is not declared with any keyword then by default with sharing will be applied to that
class because originating call is done through classA. To avoid this we have to explicitly define
classB with keyword without sharing.
71. If user doesnt have any right on particular record and have only read level access at object
level. Can he change the record owner?
Interview Questions
Line Chart
Pie Chart
Donut Chart
Funnel Chart
Gauge Chart
Metric
Table
Note: The Components of the dashboard that use the Grand Totals is Metric and Guage
COUNT(fieldName):
83. How to write the Where clause in SOQL when GroupBy is used?
Ans:We cannot use the Where clause with GroupBy instead we will need to use the Having
Clause.
Interview Questions
Ex: Get all the opportunity where more than one record exists with same name and name
contains ABC.
SELECT COUNT(Id) , Name FROM Opportunity GROUP BY Name Having
Name like '%ABC%'
200
50000
20
Interview Questions
Total number of records retrieved by a
single SOSL query
Total number of DML statements issued
200
150
Interview Questions
Ans: Use the with sharing keywords when declaring a class to enforce the sharing rules that
apply to the current user.
Use the without sharing keywords when declaring a class to ensure that the sharing rules for the
current user are not enforced
95. What is the difference between the Profile and Role?
Ans:Profiles:A collection of settings and permissions that define how a user accesses records.
Profiles Control a users permissions to perform different functions in Salesforce.
A profile can have many users, but a user can have only one profile.
Roles:Controls the level of visibility that users have to an organization's data
96. Can we create a user without assigning the profile?
Ans: No, because while creating the user, selection of profile is mandatory thing
97. What are the Assignment Rules?
Ans: Assignment Rules are used to automate organizationslead generation and support
processes.
Lead Assignment Rulesspecify how leads are assignedto users or queues as they are created
manually, captured from theweb, or imported via the lead import wizards.
Case Assignment RulesDetermine how cases are assignedto users or put into queues as they
are created manually, using Web-to-Case.
98. What is Cross Object Formula?
Ans:Cross-object formulas can reference merge fieldsfrom a master (parent) object if an
object is on thedetail side of a master-detail relationship. We can reference fieldsfrom objects
that are up to ten relationships
We can able to insert related Object data into a formula
99. How to hide a Tab for an User
Ans: By profiles we can hide a tab for a user
Use Tab Hidden setting for tab hide
100.
Interview Questions
Ans: External IDs are used when we interacting with an external systems. It will act as unique
record identifier. We can define 3 external ID fields per object. These are the data types of fields
Number
Text
Email
101.
How to merge duplicates without going for Third Party tools?
Ans:Click on the Tab and go to the Tools section, we can find the Merge option
Click on
MergeAccounts
102.
Ans:
a. Bulkify your Code: Bulkifying Apex code refers to the concept of making sure the code
properly handles more than one record at a time. When we try to load the bulk of the
records using the Data Loader, then we make sure that code will satisfy.
b. Avoid SOQL Queries inside FOR Loops: When queries are placed inside a for loop, a
query is executed on each iteration and the governor limit is easily reached. Instead,
Interview Questions
move the SOQL query outside of the for loop and retrieve all the necessary data in a
single query.
c. Avoid Multiple Triggers on the Same Object: Write the Single trigger on the each object
and write the logic in the classes and call that classes in the triggers.
d. Use of the Limits Apex Methods to Avoid Hitting Governor Limits
e. Avoid Hardcoding IDs
104.
Ans: Model view controller (MVC) design pattern is the one of the most popular design pattern
which contains three modules.
a. Model
b. View
c. Controller
Model: What schema and data does salesforce uses to represent the system completely. In
salesforce, we can say that sObjects are the model. Ex: Sobjects, Apex Classes
View: How the schema and data is represented. Visualforce is used to present the data to
users. Ex: Pages, Components
Controller: How the interface actions. Controllers are used to perform the actions whenever
users interact with Visualforce. Ex: Standard, Custom (Apex)
105.
Ans: We have a attribute called action in the <apex:commandbutton> tag in the VF page.
<apex:commandButton action="{!save}" value="Save" id="theButton"/>
107.
Ans: 75%
108.
Ans:A read-only field that derives its value from a formula expression which we define. The
formula field is updated when any of the source fields change
Interview Questions
109.
Ans:
a.
b.
c.
d.
111.
Task
Email Alert
Field Update
Outbound Messages
What is the Validation rule?
Ans: Validation Rules verify that the data a user enters in a record meets the standards we
specify before the user can save the record
Validation rule also includes the error message to display to the user when the rule returns a
value of true due to an invalid value
112.
If we dont have 75% code coverage, can we move it from one sandbox to another
sandbox?
Ans:Yes, we can move a class from one sandbox to another sandbox. But if we want to move a
class from sandbox to production environment we need to have a Test Class with a minimum of
code coverage should be 75%
113.
Can we have duplicates in the External ID?
Ans: No
114.
Ans:getAll()
115.
What are the context variables in Triggers?
Ans:Trigger.new, Trigger.old
Trigger.NewMap, Trigger.OldMap
Trigger.isInsert, Trigger.isUpdate, Trigger.isDelete, Trigger.isBefore, Trigger.isAfter,
Trigger.isUndelete
116.
Ans:All the triggers are bulk triggers by default, and can process multiple records at a time. We
should always paln on processing more than one record at a time.
Interview Questions
117.
What is the difference between giving with sharing and without sharing while creating
a class?
Ans: The class with sharing means we are enabling the access to the profiles
The class without sharing means we are disabling the access to the profiles.
118.
Ans: Yes, we can put list in the Map. Please find the code below
Map<Id, List<Opportunity>>MapList=New Map<Id, List<Opportunity>>();
119.
What are the different types of the trigger events?
Ans: An event in a trigger refers to a situation when the trigger gets fired.
Before Insert: Before inserting the record into the database, the trigger will be fired.
Before Update: Before updating a record which is fetched from database, the trigger will be
fired.
Before Delete: Before deleting the record, trigger will be fired.
After Insert: After inserting a newly entered record into database, the trigger will be fired.
After Update: After modifying the record and once it is saved to database, the trigger will be
fired.
After Delete: After deleting a record, if user needs to perform any action, he can fire the trigger
using this after delete event
After Undelete: Once the record gets deleted, it will be sent to recycle bin. So, a trigger can be
fired when user is moving back from recycle bin to its respective object and the transaction is
done.
120.
Interview Questions
Using Triggers, Based on the criteria we mentioned on the parent record, we can do field update
on child also
122.
How many characters we can enter in the formula field? What will happen if we
exceed the characters limit?
Ans: we can enter upto 3900 characters in the formula field. If we exceed the limit, then it will
give the compilation error.
123.
Can we include one formula field with in another formula field? What about the size?
Ans: Yes, we can include one formula field with in another formula field. It will calculate the
formula field characters which we included in formula field.
124.
Ans: <apex:actionFunction>:A component that provides support for invoking controller action
methods directly from JavaScript code using an AJAX request.
An <apex:actionFunction> component must be a child of an <apex:form> component.
Notes: <apex:actionStatus>: This component Is used for displaying different values depending
on whether its in progress or completed.
Ans:
a.
b.
c.
d.
e.
126.
Insert
Update
Upsert
Delete
Export
What is the maximum size of the PDF generated on Visualforce attribute renderAs?
Ans: The maximum response size when creating a PDF must be below 15 MB, before being
rendered as a PDF.
127.
Interview Questions
Ans: Force.com is the platform used to develop the applications in the salesforce
Salesforce.com is keyword used to search anything.
128.
Ans:
Data Loader
Import Wizard
129.
Ans: OWDs is used for restrict the access.Organization-wide default sharing settings give a
baseline level of access for each object and enable you to extend that level of access using
hierarchies
130.
Ans: Sharing rules represent the exceptions to organization-wide default settings. Using sharing
rules we can extend the access for the records.
131.
At profile level what are the permissions we must give for OWDs does not work?
132.
Ans: Escalation rules allow us to define automated actions when cases with specific criteria
are open after a specified period of time. They can help us to identify when cases have fallen
outside of an intended service level.
When escalating a case, we can choose to automatically notify a user, reassign the case to
another user or queue, or both.
Note: we can create Escalation Rules for only Cases object.
133.
Ans: Salesforce.com can automatically create a case when an email is sent to one of your
company's email addresses, such as [email protected]. This Email-to-Case functionality
auto-populates case fields from the content of each email. Forexample, an email subject
heading becomes a case subject. Email-to-Case or On-Demand Email-to-Case to efficiently
resolve and correspond with customer inquiries via email.
Interview Questions
134.
What is a workflow?
Ans: Workflow rules allow us to automate the business processes for organization.
135.
Ans: Email Templates determines the content of email which we will used to send through Email
Alert action.
There are four kinds of Email Templates:
i.
ii.
iii.
iv.
136.
Text
HTML
Custom
Visualforce
Ans: Workflows will contain Evaluation Criteria and Rule Criteria, Whenever the Rule Criteria is
true, then workflow rule will fire and it will occur actions that are associated with that workflow.
137.
Ans: An approval process is an automated process that organization can use to approve records
in Salesforce. An approval process specifies the steps necessary for a record to be approved and
who must approve it at each approval step.
Interview Questions
An approval process also specifies the actions to take when a record is approved, rejected,
recalled, or first submitted for approval.
The Approval Process determines the delegated approver, if necessary. And it also determines if
users can edit records that are awaiting approval.
The Approval Process decides if records should be auto-approved or rejected.
138.
139.
Ans: In this kind of workflow rules, the actions that queue when a record matches the criteria,
and execute according to time triggers.
140.
Interview Questions
Default OFF: The setting used for a tab not to appear on the tab panel but still allowing a user to
access it by click on + sign on the tab panel
Default ON: Use this setting for a tab to be displayed on the Tab Panel.
142.
What are the types of Tabs? What is the Difference between them?
Ans:Lead qualification depends on business process and should have beendeveloped in conjunction
with both the marketing and sales team.
During lead conversion, new records are created for Account, Contact and Opportunity objects
where the account record name field will contain the Company Name fieldvalue from the lead, and
the contact record name field will be populated from theName field within the lead record.
Opportunities which are created upon lead conversion contain default values for the required fields,
where the Close Date defaults to the last day of the current quarterand the Sales Stage is set to the
first value in the Stage picklist.
To convert a lead, select the lead that is to be converted either by clicking on the Lead tab and
selecting from the list view or by searching and then clicking on Convert button onthe lead detail
page as shown next:
Interview Questions
Click on Convert
button here
The lead conversion screen will be displayed where we can check the owner of thenew records.
Here we can choose to send the record owner an automated notificatione-mail. We can also set the
status of the converted lead and also specify that a newtask is created for the record owner to act as
a follow-up task as shown next:
Before creating any new account or contact records, the Salesforce CRM application attempts to
match existing account and contact names and the name of the lead. Where there is a match, we
will have the option of selecting the existing records.
Click on Convert button.
144.
Ans: When the Lead is converted, the Account, Contact and Opportunity (Optional) will be
created automatically by taking the values from the lead record.
145.
Ans:Custom Objects provide a structure for storing data.Custom objects are database tables
that allow us to store data specific to organization in salesforce.com. We can use custom objects
to extend salesforce.com functionality or to build new application functionality.
Interview Questions
146.
What are the different fields Created by default while creating an object?
Ans: By default for every custom object, four fields are created, those are:
Created By
Last Modified By
Owner
Record Name
Note: Created By, Last Modified By fields are used for audit fields and they are also called as System
fields
147.
148.
The
Custom Objects
We can edit the custom objects
We can delete the custom objects
They have API Name
What is a Profile?
Ans:A profile is a collection of settings and permissions that we define to access the records.
Profile controls a users permissions to perform different functions in salesforce. A profile can
have many users, but a user can have only one profile.
149.
What is Role?
Ans: A Role controls the level of visibility of the data.
150.
Tabs
Custom Apps
Page Layouts
Record Types
Field Level Security
Login Hours and IP
Interview Questions
151.
152.
System Administrator
Standard User
Solution Manager
Marketing User
Contract Manager
Read Only
What is a Pagelayout?
Ans:A Page layout determines how detail and edit pages are organized (field locations). Page
layouts are responsible for customizing page sections and which fields, related lists and custom
links are in a users view.
153.
154.
What is a Report?
Ans: A report returns a set of records that meets certain criteria and displays it in organized
rows and columns. Report data can be filtered, grouped and displayed graphically as a chart.
We must have Read permission on the records included in reports, otherwise when we run
them, they may be missing data or appear blank.
155.
Interview Questions
What are the different types of charts that can be added for a report?
Ans: There are different types of charts that we can add for a report:
a.
b.
c.
d.
e.
f.
g.
157.
Ans: Summary Report provides a listing of data like a tabular report plus sorting (grouping) and
subtotaling of data.
Summary reports can be used to get subtotals based on the value of a particular field
158.
Ans: We can give the report access to the users through the report folder. Report sharing can be
done by creating a report folder and add the reports to the folder which we want to give access
159.
What is Dashboard?
Ans: A Dashboard shows the data from source reports(Summary reports, Matrix reports) as
visual components, which can be charts, gauges, tables, metrics or visual force pages
Each dashboard can have upto 20 components.
Administrators control access to dashboards by storing them in folders with certain visibility
settings.
If we have access to a folder, we can view its dashboard.
160.
Interview Questions
Ans: Yes, We can delete the Junction Object
161.
162.
Ans: Custom report types allow us to build a framework in the report wizard, from which users
can create and customize reports. We can build custom report types off of the relationships
(master-detail and lookup) between objects so that we can:
166.
Choose which standard and custom objects to display to users creating and customizing
reports
Define the relationships between objects displayed to users creating and customizing
reports
Select which objects' fields can be used as columns in reports.
What is a Package and what are the types of Package?
Ans: Packages are a collection of Force.com components and applications that are made
available to other organizations through the AppExchange.
There are two types of packages:
a. Managed Package
b. Unmanaged Package
A managed package is a collection of application components that are posted as a unit on
AppExchange, and are associated with a namespace and a License Management Organization.
To support upgrades, a package must be managed.To support upgrades, a package must be
managed. An organization can create a single managed package that can be downloaded
Interview Questions
andinstalled by many different organizations.Managed packages differ from unmanaged
packages by having some locked components, allowing the managed package to be upgraded
later.
Unmanaged packages do not include locked components and cannot be upgraded.
167.
Ans: The Data Loader will support only .csv file because of its size is less than .xlsx file.
168.
Ans: Log files are error and success files that are generated automatically in data loader for the
following operations:
a. Insert
b. Update
c. Upsert
d. Delete
Note:The log files cannot be generated automatically for the Export operation in Data Loader.
169.
Ans: Task: Represents a business activity such as making a phone call or other to-do items. In
the user interface, task and Event records are collectively referred to as activities.
Event: Represents a calendar appointment event
170.
Ans: An anonymous block is Apex code that does not get stored in the metadata, but that can be
compiled and executed using the Developer Console.
171.
What is PAGINATION?
Ans: Pagination is the getting Previous and Next Links to move into previous and next pages.
173.
Interview Questions
Ans: Batch Apexis used to build complex, long-running processes on the Force.com platform.
We can go for the batch apex when we face any Governor Limits.
174.
Ans: Yes, we can make the field required by using the Required attribute
175.
Ans:<apex:pageBlockTable> :
A list of data displayed as a table within either an <apex:pageBlock>or <apex:pageBlockSection>
component, similar to a related list or list view in a standard Salesforce page.
<apex:dataTable>: It will also displays the data as a table, but look and feel will be different.
General Questions:
1. What is CLOUD COMPUTING?
Ans: Cloud computing is the concept of accessing infrastructure, platform and software as a
service over the internet by paying the each use of the IT service.
Cloud computing is a crowd/group of unknown resources that are giving for a special
purpose to the user.
2. How Cloud Computing is suitable for your organization?
Ans: We have several Advantages using the cloud computing:
It reduces the cost
Increased Storage
Flexibility No need to install any software and no need to buy any licenses.
We can access from any location
Low maintenance and Low Cost
Salesforce adds extra features for every release.
3. What does Salesforce provide you? (Different services provided by Salesforce.)
Ans: There are three types of Services that are provided by Cloud:
a. IAAS (Infrastructure as a Service): Accessing Infrastructure such as Application
server, storage server over the internet is called IAAS.
b. PAAS (Platform as a Service):It is the concept of accessing a platform such as any
programming language on which an application is built.
c. SAAS (Software as a Service):It is the concept of accessing a software application
over the internet is called SAAS.
Interview Questions
4. What is Force.com?
Ans: Force.com is the platform which is provided by the Salesforce used to develop the
application
5. What is AGILE methodology?
Ans: It is a process of moving development into Production for every two weeks.We will
update everyone tasks by themselves in the Scrum call (not more than 10 min call) which
will run by Scrum Master
6. What are the different Editions of Salesforce?
Ans:
a.
b.
c.
d.
e.
Contact Manager
Group Edition
Professional
Enterprise
Unlimited
Interview Questions
Ans: The following applications provides by the salesforce
a.
b.
c.
d.
Marketing
Sales
Call Center
Community
Ans: The field Record Name will be created automatically while creating an object. The
options are:
Text
Auto Number
Questions on Navigations:
Interview Questions
Interview Questions
Interview Questions