Salesforce Test

Salesforce Test

 

In which type of Salesforce Edition can a Managed package be created?

a. Group
b. Professional
c. Enterprise
d. Unlimited
e. Developer


The following is a VisualForce code snippet:

<apex:page standardController=”Account”>
<apex:pageBlock title=”Contacts”>
<apex:pageBlockTable value=”{!account.Contacts}” var=”contact”>
<apex:column value=”{!contact.Name}”/>
<apex:column value=”{!contact.MailingCity}”/>
<apex:column value=”{!contact.Phone}”/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>

It displays the Name, Mailing City, Phone details of a particular contact. Which of the following modifications will enable the above VisualForce code to return the data as a Microsoft Excel sheet?

a. <apex:pageBlock title=”Contacts” contenttype=”application/vnd.ms-excel”>
b. <apex:page standardController=”Account” contenttype=”application/vnd.ms-excel”>
c. <apex:pageBlockTable value=”{!account.Contacts}” var=”contact”contenttype=”application/vnd.ms-excel”>


What is the description of the Lead object?

a. It defines a prospect or potential Opportunity.
b. It defines the rules that assign an owner to a Lead.
c. It defines the status of a Lead, such as Open, Qualifed, or Converted.
d. It associates a word or short phrase with a Lead.


Which of the following API calls are supported by the AssignmentRuleHeader soap?

a. create()
b. merge()
c. update()
d. All of the above


What is the syntax for the logout() API call?

a. LogoutResult = binding.logout();
b. LogoutResult = binding.logout (string username, string password);
c. LogoutResult = binding.logout (string username);
d. LogoutResult = binding.logout (string password);


Which of the following are the Application Development Components of Salesforce?

a. Apex Code
b. AppExchange
c. ERP Connectors
d. Ans VisualForce


Which of the following Managed package Components contain a Subscriber and Developer Editable attribute?

a. Apex Class
b. Apex Trigger
c. Home Page Layout
d. None of the above


You have a static resource archive named Testpack in your VisualForce organization which contains an image file named hills.jpg. You want to reference this image file in your VisualForce page. Which of the following Code Snippets can be used to achieve the desired result?

a. <apex:image url=”{!$Resource.Testpack}” width=”50″ height=”50″ />
b. <apex:image url=”{!URLFOR($Resource.Testpack , ‘hills.jpg’)}” width=”50″ height=”50″ />
c. <apex:image url=”{!($Resource.Testpack , ‘hills.jpg’)}” width=”50″ height=”50″ />
d. <apex:image url=”hills.jpg” width=”50″ height=”50″ />


Prev1 of 4

Share This Post