Amazon

Salesforce Interview Questions

1. List of custom field types

   Text, Pick list, Pick list (multi select), Date, Email, Date/Time, Date, Currency,     Checkbox, Number,   Percent, Phone, URL, Text Area, Geolocation, lookup
relationship, master detail relationship etc…..

2. What is TAB in Salesforce?

    Tab is a user interface component to user creates to display custom object data.
    There are three type of tabs.
    Custom Tabs
   Visual force Tabs
    Web Tabs

3. List things that can be customized on page layouts?

We can customize different things on page layout like, Fields, Buttons, Custom Links and Related Lists.
We can also create sections.

4. What is a “Self Relationship”?

Self Relationship is a lookup relationship to the same object. Suppose let’s take an object “Merchandise”. Here we can create relationship in between the Account to Account (same object) object. That is called “Self Relationship”

5. What is difference between trigger and workflow?

Workflow

Workflow is automated process that fired an action based on Evaluation criteria
and rule criteria.
We can access a workflow across the object.
We cannot perform DML operation on workflow
We cannot query from database


Trigger

Trigger is a piece of code that executes before or after a record is inserted or updated.
We can access the trigger across the object and related to that objects
We can use 20 DML operations in one trigger.
We can use 20 SOQL’s from data base in one trigger

6. What is Wrapper class?

A Wrapper class is a class whose instances are collection of other objects.
It is used to display different objects on a Visual Force page in same table.

7. What is Difference between SOQL and SOSL?

SOQL(Salesforce Object Query Language)

Using SOQL we can Search only on one object at a time.
We can query on all fields of any datatype
We can use SOQL in Triggers and classes.
We can perform DML operation on query results.

SOSL(Salesforce object Search Language)

Using SOSL we can search on many objects at a time.
We can query only on fields whose data type is text,phone and Email.
We can use in calsses but not in Triggers.
We cannot perform DML operation on search result

8. What is Static Resources?

Using Static Resources we can upload images, zip files, jar files, java script and CSS files that can be referred in a visual force page.
The maximum size of Static Resources for an organization is 250mB

9.How many ways we can share a record?

Role Hierarchy:

If we add a user to a role, the user is above in the role hierarchy will have read access.
Setup -> manage users -> roles -> setup roles -> click on ‘add role’ -> provide name and save.

OWD:

Defines the base line setting for the organization.
Defines the level of access to the user can see the other user’s record
OWD can be Private, Public Read Only, Public Read and Write.

Setup -> Security Controls -> sharing settings -> Click on ‘Edit’

Manual Sharing:Manual Sharing is sharing a single record to single user or group of users. We can see this button detail page of the record and this is visible only when OWD setting is private.

Criteria Based Sharing rules:

If we want to share records based on condition like share records to group of users
Whose criteria are country is India.
Setup -> security controls -> sharing settings -> select the object and provide name and Conditions and save

Apex sharing:
Share object is available for every object(For Account object share object is AccountShare). If we want to
share the records using apex we have to create a record to the share object

10.What are the actions in workflow?

1. Email Alert
2. Task
3. Field Update
4. Outbound Message

11.How many ways we can made field is required?

1. While creation of field
2. Validation rules
3. Page Layout level

Salesforce Admin Latest Dumps

12.What is difference between Action support and Action function?

Action function: Invoke the controller method from java script using AJAX and we can use action function from different places on visual force page.
Action support: Invoke the controller method using AJAX when even occurs on page like onMouseOver, onClick, ect… and we can use action support for particular single apex component.

13.How many ways we can call the Apex class?

1. Visual force page
2. Web Service
3. Triggers4. Email services

14.What is manual sharing?

Manual sharing is to share a record to a particular user manually.
Go to detail page of record and click on manual sharing button and assign that record to other user with
Read or Read/Write access.
Manual Sharing button enables only when OWD is private to that object

How we can change the Grant access using role hierarchy for standard objects?
 we cannot change on standard objects


15.What are the Report Types?

Four Types of report in Salesforce

1.Tabular Reports: We can only displays the grand total in the table form.

2.Summary Reports: It is a detail form of report in which the grouping done based on Columns.

3.Matrix Reports: It is a detail form of report in which the grouping done based on both Rows and Columns.

4.Joined Reports: We can join the two or more reports in the single report displayed in the formof blocks.

16. What is Dashboard?

Dashboard is a pictorial representation of report. We can add up to 20 reports in singledashboard.

No comments