Create a simple Visualforce page that displays an image

Create a Visualforce page without the standard Salesforce header and display an image using the Visualforce image component. 
Challenge Requirements
  • The page must be named DisplayImage
  • It must NOT display the standard Salesforce header
  • It must use a Visualforce apex:image component to display this image – https://developer.salesforce.com/files/salesforce-developer-network-logo.png

Create a Visualforce page that shows user information.

Create a Visualforce page that displays the first name of the logged-in user. 
Challenge Requirements
  • The page must be named DisplayUserInfo
  • The displayed user information must be generated dynamically from the logged-in user

Create a Visualforce page which shows a basic Contact record

Using the Contact standard controller, create a Visualforce page which displays a Contact’s First Name, Last Name and the Email address of the Contact’s Owner. 
Challenge Requirements
  • The page must be named ContactView
  • It must reference the Contact standard controller
  • It should include three bound variables that use the standard controller to display the following Contact record information:
    • First Name
    • Last Name
    • Owner Email

Create a Visualforce page which displays a variety of output fields

Create a page which displays a subset of Opportunity fields using apex:outputField components. Bind the Name, Amount, Close Date and Account Name fields to the apex:outputField components. 
Challenge Requirements
  • The page must be named OppView
  • It must reference the Opportunity standard controller
  • It must have four apex:outputField components bound to the following Opportunity fields:
    • Opportunity Name
    • Amount
    • Close Date
    • Account Name of the Opportunity

Create a Visualforce form which inserts a basic Contact record

Using the Visualforce apex:form component, create a page which will insert a Contact record based on First Name, Last Name and Email. After submitting the form, the user should be redirected to detail page of the new Contact record. 
Challenge Requirements
  • The page must be named CreateContact
  • It must reference the Contact standard controller
  • It must use a Visualforce apex:form component
  • It must have three apex:inputField components bound to the following Contact fields:
    • First Name
    • Last Name
    • Email
  • It must have an apex:commandButton component that uses the save method from the standard controller

Create a Visualforce page which shows a list of Accounts linked to their record pages

Using a Standard List Controller, create a Visualforce page which displays a list of Accounts with links to their respective record detail pages. 
Challenge Requirements
  • The page must be named AccountList
  • It must reference the Account standard controller
  • It must have a recordSetVar attribute equal to accounts
  • It must have a Visualforce apex:repeat component, with the following:
    • Use the var attribute set to a
    • Use the <li> HTML list tag
    • Use the apex:outputLink component to link to the respective record detail page
  • HINT: Record detail pages can be reached by placing a record ID at the root of the URL (e.g. <record id>)

Use a static resource to display an image on a Visualforce Page

Upload a specified zip file as a static resource. The zip will have directories with images and you have to display a specific image on a Visualforce page. 
Challenge Requirements
  • The page must be named ShowImage
  • This file must be uploaded as a Static Resource named vfimagetest
  • The page must have a Visualforce apex:image tag that displays the kitten1.jpg image from the cats directory of the static resource

Create a Visualforce page displaying new cases

Create a Visualforce page that uses a custom controller to display a list of cases with the status of ‘New’. 
Challenge Requirements
  • The page must be named NewCaseList
  • The custom controller Apex class must be named NewCaseListController and include the following:
    • A publicly scoped method named getNewCases
    • Use the return type of List<Case>
    • Return a list of case records that includes the ID and CaseNumber fields
    • Filter the results returned to only have a status of New
  • The NewCaseList Visualforce page must use an apex:repeat component, which is:
    Bound to newCases
    • Refers to the var attribute as case
    • With the component tags, bind an apex:outputLink component to the ID of the case. This will cause the the page to direct the user to the detail page of the respective case record.

Create a simple Visualforce page that displays an image

Create a Visualforce page without the standard Salesforce header and display an image using the Visualforce image component. 
Challenge Requirements
  • The page must be named DisplayImage
  • It must NOT display the standard Salesforce header
  • It must use a Visualforce apex:image component to display this image – https://developer.salesforce.com/files/salesforce-developer-network-logo.png

Create a Visualforce page that shows user information

Create a Visualforce page that displays the first name of the logged-in user. 
Challenge Requirements
  • The page must be named DisplayUserInfo
  • The displayed user information must be generated dynamically from the logged-in user

Create a Visualforce page which shows a basic Contact record

Using the Contact standard controller, create a Visualforce page which displays a Contact’s First Name, Last Name and the Email address of the Contact’s Owner. 
Challenge Requirements
  • The page must be named ContactView
  • It must reference the Contact standard controller
  • It should include three bound variables that use the standard controller to display the following Contact record information:
    • First Name
    • Last Name
    • Owner Email

Create a Visualforce page which displays a variety of output fields

Create a page which displays a subset of Opportunity fields using apex:outputField components. Bind the Name, Amount, Close Date and Account Name fields to the apex:outputField components. 
Challenge Requirements
  • The page must be named OppView
  • It must reference the Opportunity standard controller
  • It must have four apex:outputField components bound to the following Opportunity fields:
    • Opportunity Name
    • Amount
    • Close Date
    • Account Name of the Opportunity

Create a Visualforce form which inserts a basic Contact record

Using the Visualforce apex:form component, create a page which will insert a Contact record based on First Name, Last Name and Email. After submitting the form, the user should be redirected to detail page of the new Contact record. 
Challenge Requirements
  • The page must be named CreateContact
  • It must reference the Contact standard controller
  • It must use a Visualforce apex:form component
  • It must have three apex:inputField components bound to the following Contact fields:
    • First Name
    • Last Name
    • Email
  • It must have an apex:commandButton component that uses the save method from the standard controller

Create a Visualforce page which shows a list of Accounts linked to their record pages

Using a Standard List Controller, create a Visualforce page which displays a list of Accounts with links to their respective record detail pages. 
Challenge Requirements
  • The page must be named AccountList
  • It must reference the Account standard controller
  • It must have a recordSetVar attribute equal to accounts
  • It must have a Visualforce apex:repeat component, with the following:
    • Use the var attribute set to a
    • Use the <li> HTML list tag
    • Use the apex:outputLink component to link to the respective record detail page
  • HINT: Record detail pages can be reached by placing a record ID at the root of the URL (e.g. <record id>)

Use a static resource to display an image on a Visualforce Page

Upload a specified zip file as a static resource. The zip will have directories with images and you have to display a specific image on a Visualforce page. 
Challenge Requirements
  • The page must be named ShowImage
  • This file must be uploaded as a Static Resource named vfimagetest
  • The page must have a Visualforce apex:image tag that displays the kitten1.jpg image from the cats directory of the static resource

Create a Visualforce page displaying new cases

Create a Visualforce page that uses a custom controller to display a list of cases with the status of ‘New’. 
Challenge Requirements
  • The page must be named NewCaseList
  • The custom controller Apex class must be named NewCaseListController and include the following:
    • A publicly scoped method named getNewCases
    • Use the return type of List<Case>
    • Return a list of case records that includes the ID and CaseNumber fields
    • Filter the results returned to only have a status of New
  • The NewCaseList Visualforce page must use an apex:repeat component, which is:
    Bound to newCases
    • Refers to the var attribute as case
    • With the component tags, bind an apex:outputLink component to the ID of the case. This will cause the the page to direct the user to the detail page of the respective case record.