Adding and Modifying Application Resources
A resource****is an entity that provides functionality to the applications in a Commerce Server 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 Administration database. These properties can be accessed and changed by using the Commerce Server Resources window in Visual Studio .NET.
The Commerce Server 2002 Resource tools window is only available in Commerce Projects. For more information about creating a Commerce Project, see Creating a Commerce Project.
The following table lists and describes the resources in Commerce Server 2002 that appear in the Resource tool window:
Resource | Description | Type |
---|---|---|
App Default Config | Stores properties that you use to configure a site, such as currency locale and symbols, billing and payment options, privacy options, unit of measure for weight, and options for integrating with Microsoft BizTalk Server 2000 and later. | Site |
Business Desk Permissions | Connects to the database that stores data such as security identifiers and definitions that are used to secure the Business Desk user interface. | Site |
Profiles | Creates data sources for storing profile data, and creates and stores profile definitions and properties. | Global |
Campaigns | Connects to the database that stores data about campaigns (ads, discounts, and direct mail). | Site |
Direct Mailer | Sends personalized or non-personalized mailings to large groups of recipients. | Global |
Data Warehouse | Imports and manages Web site data from Web log files, Commerce Server databases, and other data sources. | Global |
Predictor | Adds predictive capabilities to your Web site, and builds complex analysis models that you can use to identify population segments and user trends. | Global |
Product Catalog | Connects to the database that stores catalog schema and product data. | Site |
Transactions Config | Connects to the database that stores data for shipping methods and rates, tax rates, state and region codes, and order status codes. | Site |
Transactions | Connects to the database that stores data for baskets and orders. | Site |
To open the Commerce Server Resources tool window
- On the Project menu, point to Commerce Server Project, and then click Resources.
The Commerce Server Resources tool window opens. Use this tool window to view or edit Commerce Server resource properties.
Important
- If you add a Commerce Server resource, you will be prompted to select a Commerce Server PuP package. You can select a Commerce Server package that contains the selected resource or you can use the Commerce Server Blank site package located at <drive>:\Program Files\Microsoft Commerce Server 2002\PuP Packages\.
- If you change a connection string in a Commerce Server resource, you must restart IIS or the Visual Studio .NET application. For information about restarting IIS, see Restarting IIS and Commerce Server Services.
To edit Commerce Server resource properties
- In the Commerce Server Resources window, expand the Commerce Server Web application, and then select the resource you want to edit.
- On the View menu, click Properties.
- In the Properties window, select and edit the resource properties.
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.