Exercise 1: Creating a SharePoint List Data Source

In this exercise, you will deploy a list template to SharePoint and make a list based upon the template. The list template defines a list used to display important maintenance contacts. In this scenario, the Windows Phone 7 application will read items from the maintenance contacts list and display contact details.

Task 1 – Deploying the List Template to a SharePoint Site

In this task, you will deploy the maintenance contacts list template to a SharePoint site. The list template contains sample data used in the lab.

  1. Open Internet Explorer and navigate to the SharePoint Team Site configured for Forms Based Authentication.
  2. example: https://fbawp7
  3. Log into the site using site collection administrator credentials.
  4. Click Site Actions, and select Site Settings.
  5. In the Galleries section, click List templates.
  6. In the Ribbon, click the Documents tab.
  7. Click Upload Document.
  8. Click Browse…
  9. Browse to the Maintenance Contacts.stp file located at %TrainingKit%\Labs\IntegratingDataUsingREST\Source\Before and select it.
  10. Click Open.
  11. Click OK.
  12. Click Save.
  13. Verify the Maintenance Contacts list template appears in the List Templates Gallery.

    Figure 1

    List Template Gallery

Task 2 – Creating the Maintenance Contacts List

In this task, you will use the maintenance contacts list template to create the maintenance contacts list.

  1. Open Internet Explorer and navigate to the SharePoint Team Site configured for Forms Based Authentication.

    example: https://wp7fba

  2. Log into the site using site collection administrator credentials.
  3. Click Site Actions and select More Options.
  4. In the Filter By section, select List.
  5. Select the Maintenance Contacts list.

    Figure 2

    Selecting the Maintenance Contacts template

  6. In the Name textbox enter Maintenance Contacts.
  7. Click Create.
  8. Verify the Maintenance Contacts list contains the following sample data.

    Figure 3

    Maintenance Contacts list with content