How to Add or Modify Application Resources

Commerce Server 2009

A resource is an entity that provides functionality to the applications in a Commerce Server 2009 site. There are two types of resources: global resources and site resources. Global resources are available for use by all sites; site resources provide functionality to a specific site.

Resources include properties that are stored in the Commerce Server 2009 Administration database. You can access and change these properties by using the Commerce Server Resources module window in the Microsoft Visual Studio development system.

The Commerce Server Resources module window is only available in Commerce Server 2009 projects. For more information about creating a Commerce Server 2009 project, see How to Create an Application in Visual Studio.

The following table identifies the Commerce Server 2009 resources.

Resource

Description

Type

Profiles

Creates data sources for storing profile data, and creates and stores profile definitions and properties.

Global

Data Warehouse

Imports and manages Web site data from Web log files, Commerce Server 2009 databases, and other data sources.

Global

Inventory

Connects to the database that stores data about inventory.

Site

Marketing

Connects to the database that stores data about campaigns (ads, discounts, and direct mail).

Site

Product Catalog

Connects to the database that stores catalog data and product data.

Site

CS Authentication

Configures the authentication and identification method for your Commerce Server 2009 site.

Site

Transaction Config

Connects to the database that stores data for shipping methods and rates, state and region codes, and order status codes.

Site

Transactions

Connects to the database that stores data for baskets and orders.

Site

To add a Commerce Server Core Systems resource to an application

  1. On the Website menu, point to Commerce Server Project, and then click Resources.

  2. In the Commerce Server Resources module window, right-click the name of your application and then click Add Commerce Server Resource.

  3. In the Add Resource Form dialog box, select the PuP package that contains the resource you want to add, and then click Open.

    The Commerce Server Site Packager window opens.

  4. To add the resource, follow the procedure in the topic How to Add a Resource to a Site.

To delete a Commerce Server Core Systems resource from an application

  1. On the Website menu, point to Commerce Server Project, and then click Resources.

  2. In the Commerce Server Resources module window, right-click the name of the resource you want to delete, and then click Delete.

  3. Click Yes to confirm that you want to delete the resource.

To modify a Commerce Server Core Systems resource

  1. On the Website menu, point to Commerce Server Project, and then click Resources.

  2. In the Commerce Server Resources module window, right-click the name of the resource you want to delete, and then click Properties.

  3. In the left column of the Properties module window, select the name of the property you want to modify.

  4. In the right column, enter the new value for the property.

    Dd442383.alert_caution(en-US,CS.90).gifImportant Note:

    If you change a connection string in a Commerce Server 2009 resource, you must restart IIS or the Visual Studio application.

Show: