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 write to the announcement list. The Windows Phone 7 application allows users to view current maintenance announcements on their Windows Phone 7 device. Users with write permissions will be able to add announcemnts to the list as needed.
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.
- 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\IntegratingWebServices\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
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
Selecting the Maintenance Announcements template
- In the Name textbox enter Maintenance Announcements.
- Click Create.
Verify the Maintenance Announcements list contains the following sample data.
Figure 3
Maintenance Announcements list with content