Salesforce CRM Interview Question and Answer

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

  • Visual force page
  • Web Service
  • Triggers
  • Email services

14.) What are the actions in workflow?

  • Email Alert
  • Task
  • Field Update
  • Outbound Message

15.) How many controllers can be used in a visual force page?

Salesforce come under SAAS so, we can use one controller and as many extension controllers.

16.) What is difference between Role and Profile?

  • Role is Record level access and it is not mandatory for all users.
  • Profile is object level and field level access and it is mandatory for all users.

17.) What is “Master-Detail Relationship”?

Master Detail relationship is the Parent child relationship. In which Master represents Parent and detail represents Child. If Parent is deleted then Child also gets deleted. Rollup summary fields can only be created on Master records which will calculate the SUM, AVG, MIN of the Child records.

  • Up to 2 allowed to object.
  • Parent field on child is required.
  • Access to parent determines access to children.
  • Deleting parent automatically deletes child.
  • A child of one master detail relationship cannot be the parent of another. Lookup field on page layout is required.

18.) List examples 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…..


1 2 3 4 5 6 7