Exercise 1: Creating a SharePoint List Data Source

Note:
This is the same list used in the Integrating SharePoint 2010 and Windows Azure module. If you have already installed it, you may skip this exercise.

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 hold maintenance requests. After the Windows Phone 7 application is unlocked, it will read the maintenance requests from the SharePoint list. The Windows Phone 7 application will display this information to help maintenance personnel complete maintenance requests.

Task 1 – Deploying the List Template to a SharePoint Site

In this task, you will deploy the maintenance requests 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.

    example: https://fbawp7

  2. Log into the site using site collection administrator credentials.
  3. Click Site Actions, and select Site Settings.
  4. In the Galleries section, click List templates.
  5. In the Ribbon, click the Documents tab.
  6. Click Upload Document.
  7. Click Browse…
  8. Browse to the Maintenance Requests.stp file located at %TrainingKitPath%\Labs\CreatingPrivateApplications\Source\Before and select it.
  9. Click Open.
  10. Click OK.
  11. Click Save.
  12. Verify the Maintenance Requests list template appears in the List Templates Gallery.

    Figure 1

    The Maintenance Requests list template

Task 2 – Creating the Maintenance Requests List

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

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

    example: https://fbawp7

  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 Requests list.

    Figure 2

    The create list dialog

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

    Figure 3

    The Maintenance Request list with data