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.
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.
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.stp file located at %TrainingKitPath%\Labs\Tips\Offline\Source\Before and select it.
- Click Open.
- Click OK.
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.
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 list.
Figure 2
Create List Dialog
- In the Name textbox enter Maintenance Announcements.
- Click Create.
Verify the Maintenance Announcements list contains the following sample data.
Figure 3
The new Maintenance Announcements list