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 announcements. In this scenario, the Windows Phone 7 application will maintain an offline version of the list data. This will allow current uesrs to read announcements when the mobile device does not have network connectivity.

Task 1 – Deploying the List Template to a SharePoint Site

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

Note:
This lab uses the same Maintenance Announcements list as Lab 4.1. If you have already created a Maintenance Announcement list in Lab 4.1 skip to Exercise 2.

  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 Announcements.stp file located at %TrainingKitPath%\Labs\Tips\Offline\Source\Before and select it.
  9. Click Open.
  10. Click OK.
  11. Click Save.Verify the Maintenance Announcements list template appears in the List Templates Gallery.

    Figure 1

    Maintenance Announcements in the List Template gallery

Task 2 – Creating the Maintenance Announcement List

In this task, you will use the maintenance announcements list template to create the maintenance announcements 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 Announcements list.

    Figure 2

    Create List Dialog

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

    Figure 3

    The new Maintenance Announcements list