Salesforce CRM Interview Question and Answer

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

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

21.) How to call java script using Static Resource in Visual Force page?

Add java script file in Static Resource setup -> develop -> Static Resources -> click on ‘New’ -> Name: filename and add file from local desktop and save.
We can use that file as follows in Visual Force page

22.) How can I create Many – to – Many relationship?

Lookup and Master detail relationships are one to many relationships. We can create many – to – Many relationship by using junction object. Junction object is a custom object with two master detail relationships.

23.) How many ways we can made field is required?

  • While creation of field
  • Validation rules
  • Page Layout level

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


1 2 3 4 5 6 7