Exercise 1: Creating a SharePoint Contact List

In this exercise, you will create a Contact list and add a custom Choice field called Customer Type for use in this lab. You will add 3 contacts to the list and assign different values for the Customer Type field. The Windows Phone 7 application will read this list and populate a list box with the appropriate values for the list.

Task 1 – Creating a Contact List

In this task, you will create a standard Contact list. This sample data is used in this 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 View All Site Content.

On the All Site Content page, click Create.

In the Create dialog, choose the Contacts list.

Name the list Contacts.

Click Create.

Task 2 – Adding a Custom Field to Track Contact Type

In this task, you will use the Contacts list and add a new column to track Contact Type.

  1. In the ribbon, on the List Tools | List tab, click Create Column.
  2. In the Create Column dialog, enter the following information:
    1. Column Name: ContactType
    2. Column Type: Choice
    3. Choices (Type each choice on a separate line):
      1. Customer
      2. Vendor
      3. Partner
      4. Other
  3. Click OK.

Task 3 – Adding Sample Contacts to the List

In this task, you will add sample data to the Contact list for display in the Windows Phone application.

  1. In the ribbon, on the List Tools | Items tab, choose New Item.
  2. Enter the following information in the New Item dialog:
    1. Last Name: Jump
    2. First Name: Dan
    3. Full Name: Dan Jump
    4. E-mail Address: dan@contoso.com
    5. Business Phone: 888.555.1111
    6. ContactType: Customer
  3. Click Save.
  4. In the ribbon, on the List Tools | Items tab, choose New Item.
  5. Enter the following information in the New Item dialog:
    1. Last Name: Poe
    2. First Name: Toni
    3. Full Name: Toni Poe
    4. E-mail Address: toni@contoso.com
    5. Business Phone: 888.555.2222
    6. ContactType: Vendor
  6. Click Save.
  7. In the ribbon, on the List Tools | Items tab, choose New Item.
  8. Enter the following information in the New Item dialog:
    1. Last Name: Martinez
    2. First Name: Frank
    3. Full Name: Frank Martinez
    4. E-mail Address: frank@contoso.com
    5. Business Phone: 888.555.3333
    6. ContactType: Partner
  9. Click Save.
  10. Confirm that you have three contacts with all of the above fields completed.

    Figure 1

    Contact List with Data