Salesforce Interview questions with answers Part 28

1. Explain your roles in the project.

2. Any custom functionality have you developed?

3. I have three text fields.. say first name, middle name and last name. I want to make them unique. How can we do it using admin?

Create a field with Unique attribute. Use Field Update WF to update this field with concatenation of First Name, Last Name and Middle Name.

4. I have 2 page layouts p1 and p2, 2 profiles prof1 and prof2,  have 3 field f1, f2 and f3. For prof1 I have p1 and f1 f2 on the page layout .. prof2 has p2 layout and f3 field. Now all the three fields have validation rules. When prof2 user is trying to create a record and save will f1 f2 validation rules get fired ?

Yes they will get fired.

How can we prevent the f1 and f2 validation rules from executing for the prof2 user?

In the Validation rule check the User's profile.

5. Have you worked on workflows approvals? If so, what is it?

6. What are different workflow actions?

7. How are workflow actions triggered. i.e., what are the conditions?

8. What is the difference between when created edited and created any time it’s edited to subsequently meet criteria in Workflow Salesforce ?

9. I have an object and a pick list STATUS. In that values are open, close and win .. I want to send a a mail everyday till the status is open. How can u do that using workflows.

We create a time dependent workflow rule.

10. Triggers and what all the situations they get fired (events )

11. What are collections?

List, Set and Map

12. What is the difference between collections and primary data types?

Collections can hold group of data.

13. What is Viewstate?

14. What is required for SOAP API?


15. What are all the relationships in salesforce?

16. What are the difference between Lookup and Master Detail relations?

17. I want to change Master Detail to Lookup.. what are the considerations?

We have to delete the Roll up Summary Fields.

18. How do you write roll up summaries for example say I have an amount field on the child records and it rolls up to TOTAL AMOUNT when it was Master Detail relation . Now its LOOKUP so how to handle this .

1. Use trigger 
2. Use App Exchange product

19. Order of execution


No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit