salesforce interview questions and answers 9

Part 1 (1-15) - Part 2 (16 -30) - Part 3 (31 -45) - Part 4 (46 -55) - Part 5 (56 -66) - Part 6 (67 - 78) - Part 7 (79 - 90) - Part 8 (91 - 100) - Part 9 (101- 111) - Part 10 (112 - 120) - Part 11 (121 - 130) - Part 12 (131 - 137) - Part 13(138 - 145) - Part 14 (146 - 152) - Part 15 ( 153 - 159) - Part 16 ( 160 - 168) Part 19 (188 - 201)

101. Can you do a dml in constructor?
Ans: No. This cannot be done. You cannot do a dml within a constructor
102. What are the data types that can be returned by a formula field?
Ans: 1.Checkbox 2. currency 3.Date 4.Date/Time 5.Number 6.Percent 7.Text
103. Can you create a new profile from scratch ?
Ans: No, you have to clone from a existing profile and modify the settings as required.
104. What are custom labels in saleforce?
Ans custom labels are custom text values that can be accessed from apex codes and visualforce pages.
105. What is the character limit of custom label ?
Ans: Custom labels can be only 1000 characters long, not more than that.
106. How long can a sandbox name be?
Ans: It can only be of upto 10 characters not more than that.
107. Can you use sharing rules to restrict data access?
Ans No, sharing rule can only give wider access to data it cannot restrict data access.
108. Can you edit a formula field values in a record?
And: formula fields are read only and cannot be edited.
109. Can you edit roll up summary field values in a record?
Ans: No, roll up summary fields are read only and cannot be edited.
110. Ho can you create relationship between two objects in salesforce?
Ans relationship can be set up by crating either look up relationship field or master detail relationship fields on objects.
111. Can you create a roll up summary field on parent object?
Ans: Roll up summary fields can only be created if the relationship between objects is master detail type.
Part 1 (1-15) - Part 2 (16 -30) - Part 3 (31 -45) - Part 4 (46 -55) - Part 5 (56 -66) - Part 6 (67 - 78) - Part 7 (79 - 90) - Part 8 (91 - 100) - Part 9 (101- 111) - Part 10 (112 - 120) - Part 11 (121 - 130) - Part 12 (131 - 137) - Part 13(138 - 145) - Part 14 (146 - 152) - Part 15 ( 153 - 159)- Part 16 ( 160 - 168) Part 19 (188 - 201)

6 comments:

  1. Nice collection of questions. I have gone through all of them. Thanks.
    If I am not wrong, this is Yoganand Vasudev Gadekar...right? :)
    Great to see your post... Keep posting

    ReplyDelete
  2. Do post some more. Good questions :)

    ReplyDelete
  3. Happy New Year :) Thanks for all your efforts..Great collection!!

    ReplyDelete
  4. good questions....thanks

    ReplyDelete
  5. Helpful.. thanks!

    ReplyDelete
  6. Hello..Thanks for providing useful information..

    ReplyDelete