Share via


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 read and display announcements from the maintenance announcements list. The Windows Phone 7 application allows users to page a large list of maintenance announcements on their Windows Phone 7 device.

Task 1 – Deploying the List Template to a SharePoint Site

In this task, you will deploy the maintenance announcements 2 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 Announcements - Paging.stp file located at %TrainingKitPath%\Labs\PagingSharePointListDataUsingWebServices\Source\Before and select it.
  10. Click Open.
  11. Click OK.
  12. Click Save.
  13. Verify the Maintenance Announcements – Paging list template appears in the List Templates Gallery.

    Figure 1

    List Template Gallery

Task 2 – Creating the Maintenance Announcement List

In this task, you will use the Maintenance Announcements – Paging 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 – Paging list.

    Figure 2

    Selecting the MaintenanceAnnouncements – Paging template

  6. In the Name textbox enter Maintenance Announcements -Paging.
  7. Click Create.
  8. Verify the Maintenance Announcements – Paging list contains the following sample data. This screenshot is just a subset of all the items in the list.

    Figure 3

    Maintenance Announcements list with content