Salesforce Interview questions with answers Part 11

1. I want to update 10 records ,can I use Trigger.new?

Yes.

2. In Page layouts I want to change the Order of the layout.how can you do that?

Edit the layout.


3. Profile?what is permission set?

http://www.infallibletechie.com/2012/11/what-are-permission-sets-and-how-do.html

4. What is after update and before update?

http://infallibletechie.blogspot.com/2013/02/before-trigger-in-case-of-validation.html

5. Every month 1st I need to insert a record in 1 object?how will you do that?


Schedule a class. Check the below for example


http://www.infallibletechie.com/2012/05/apex-scheduler.html

6. How many types of controllers are there?

3 types.

Custom Controller.
Standard Controller.
Extensions.

7. I want to use more than 1 object in visual force pages?which controller will you use?

Extensions. 


8. I want new 1 button on the detail page of standard Object ?how can you do it?

Create a button in that object and assign it to the page layout.

9. What is trigger and bulk trigger ?


http://infallibletechie.blogspot.com/2012/11/how-to-bulkify-trigger-code.html

10. For which events will trigger.new will support?


Insert and update.

Cheers!!!

3 comments:

  1. Thanks alot...

    ReplyDelete
  2. Hi

    in first question, updating 10 records means it is already commited to database, then how can we use trigger.new?

    please clarify my doubt

    thanks

    ReplyDelete
  3. Trigger.new is used for insert and update operation.

    cheers!!!

    ReplyDelete