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.
- Open Internet Explorer and navigate to the SharePoint Team Site configured for Forms Based Authentication.
- example: https://fbawp7
- Log into the site using site collection administrator credentials.
- Click Site Actions, and select Site Settings.
- In the Galleries section, click List templates.
- In the Ribbon, click the Documents tab.
- Click Upload Document.
- Click Browse…
- Browse to the Maintenance Announcements - Paging.stp file located at %TrainingKitPath%\Labs\PagingSharePointListDataUsingWebServices\Source\Before and select it.
- Click Open.
- Click OK.
- Click Save.
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.
Open Internet Explorer and navigate to the SharePoint Team Site configured for Forms Based Authentication.
example: https://fbawp7
- Log into the site using site collection administrator credentials.
- Click Site Actions and select More Options…
- In the Filter By section, select List.
Select the Maintenance Announcements – Paging list.
Figure 2
Selecting the MaintenanceAnnouncements – Paging template
- In the Name textbox enter Maintenance Announcements -Paging.
- Click Create.
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