Salesforce CRM Interview Question and Answer

1. What is App in Sales force?

An app is a group of tabs that work as a unit to provide functionality. Users can switch between apps using the Force.com app drop-down menu at the top-right corner of every page. You can customize existing apps to match the way you work, or build new apps by grouping standard and custom tabs. Navigation to create app in Sales force: Setup ->Build ->Create->App-> Click on new and create your application according to your requirements.

2.) 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”.

3.) What is sharing rule?

If we want to give the access to other users we use sharing rules.

4.) 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.

5.) What is difference insert() and database .insert() ?

Using insert method we can insert the records but if any error occurs in any record system will throw an error insertion fail and none of the records are inserted. If we want to execute partially success of bulk insert operation we will use database .insert.

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.


1 2 3 4 5 6 7