Working with the My Lists Web Part

The My Lists Web Part provides shoppers with a way to manage their shopper lists from one location.

From this list, the shopper can access the detail page of each list, delete a list, create a new empty shopper list, and set a default list. The My Lists Web Part functionality is restricted to authenticated shoppers.

Properties

The following table lists and describes the properties of the My Lists Web Part.

Property

Maps to

Type

Description

Default value

Template To Display

String

Template file to use to render the lists in the browser.

Sample_MyWishLists

List Detail Page

String

Page where the details of a shopper list are displayed.

category

Columns

String

List of column names.

The default column names. See table below.

"List Id" URL parameter

ListIdentifierUrlKey

String

URL key where the List ID will be retrieved.

listId

The following table lists and describes the Columns that can be displayed.

Property

Description

Date Created

The date that the list was created

Delete Action

The "Delete" link beside each list that deletes the corresponding list

Last Modified

The date that the list was modified last

List Name

The name of the list

Total

Total price per line item (quantity * unit price)

# of Items

The number of items in the list

Customization

You can customize the My Lists Web Part by modifying the XSLT template. You can use the Template Selector drop-down list to select a new template file. You set the columns that you want to display by using the Column Selector.

Error Handling

There is no design-time error handling required for this Web Part.

API Dependencies

The dependencies on the API are:

  • Retrieve ShopperList

  • Create ShopperList

  • Update ShopperList

  • Delete ShopperList

See Also

Other Resources

Developing with SharePoint Commerce Services

Developing with Orders Web Parts

My Lists Web Part