Wednesday, December 15, 2010

Salesforce Interview Questions

1) How do you hide Header and Sidebar on Visualforce page?
2) What is difference between standard and custom controller?
3) What is Controller extension?
4) How do you read parameter in Visualforce page?
5) How many dependent drop down can be put on one Visualforce page?
6) What is the maximum size of the PDF generated on Visualforce attribute renderAs?
7) How to use actionPoller tag?
8) What is difference between actionFunction and actionSupport Tag ?
9) How can we check the object accessibility on visualforce page?
-{!$ObjectType.MyCustomObject__c.accessible}
10) How many rows return by list controller?
-10000
11) What is custom component?
12) What is assignTo attribute and what is its use?


9 comments:

  1. Hi..

    I have a question .

    Can you please tell me how to make profiles by holding 100 licences in your hand.

    Like if we went for any new company n they want to use salesforce crm then we need to create users . so, can you please help me out.

    ReplyDelete
  2. Can anyone provide the answers for above questions..

    ReplyDelete
  3. what is the architecture to be followed to integrate in salesforce(soap,wsdl,SOA..etc)

    ReplyDelete
  4. 1) How do you hide Header and Sidebar on Visualforce page?
    2) What is difference between standard and custom controller?
    3) What is Controller extension?
    4) How do you read parameter in Visualforce page?
    5) How many dependent drop down can be put on one Visualforce page?
    6) What is the maximum size of the PDF generated on Visualforce attribute renderAs?
    7) How to use actionPoller tag?
    8) What is difference between actionFunction and actionSupport Tag ?
    9) How can we check the object accessibility on visualforce page?
    -{!$ObjectType.MyCustomObject__c.accessible}
    10) How many rows return by list controller?
    -10000
    11) What is custom component?
    12) What is assignTo attribute and what is its use?

    ReplyDelete
    Replies
    1. 1. make attribute showHeader = false, sidebar = false in vf markup.
      2. when ever we are interacting with standard object i.e inserting data retrieve data from object use standard controller nothing but object.when choose standard controller choose extensions controller else choose controller.
      3. extension controller can used with standardcontroller.
      4. datatype variable name = ApexPages.CurrentPage.getParameters.get('value');
      6. 60MB

      Delete
  5. Any answer to this below questions ?

    Is there any limit to use controllers(standard /custom or standard and custom controller )inside .

    OR How many controllers can be used in .

    My guess is : There is no such limit on using any number of controllers .

    ReplyDelete
  6. I guess it does n't depend on no. of controllers..
    depend on memory usage on apex programing...

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete

Visualforce Custom button

As Salesforce has deprecated the sControl and hence there is more need to build the custom button using visualforce. We will go through to ...