Previous Contents Index Next |
BuyerXpert/SellerXpert 4.1 Administrator's Guide |
Chapter 7 Administering Catalogs
This chapter provides information and guidelines for administering BuyerXpert/SellerXpert catalogs.
Note The information in this chapter is based on the assumption that you have already read Concepts and Release Notes.
This chapter contains the following sections:
About Catalogs
The major components of BuyerXpert/SellerXpert Catalog Manager are:Further information on the topics discussed here is contained in the Catalog interface Help.
Master Ontology and Master Catalog
To present product information from different seller catalogs consistently, BuyerXpert/SellerXpert provides a catalog structure called the master ontology. The master ontology consists of a structure made up of product categories that contain product attributes associated with these categories.The term master catalog refers to the aggregate of all the seller catalogs, with all their product items and details (stored in the master ontology).
Categories
Categories are nodes in the master ontology. Initially, categories are created as part of the process of creating the master ontology. As a rule, a category can have only one parent category, and an item can be held by only one category.
Attributes
Attributes are characteristics of product items. For example, the Pen category would typically have such attributes as Name, Description, Price, Color, Material, and so on. This information is stored under two types of attributes: common and specific. Common attributes are category-wide attributes that are common to all items under a category; specific attributes are attributes that apply only to a specific item.When you view the product details of all the items in a particular category, you will notice that some information is common to all the items in the category and other information is item-specific. The master ontology enables sellers to provide product information in a combination of common attributes and specific attributes.
Seller Catalogs
In BuyerXpert, the master ontology is owned and maintained by the buyer organization, whereas master catalogs with their product items are owned and managed by individual seller organizations. That is, the seller owns the items in the master catalog. An item can be viewed, edited or deleted only by the organization that added the item to the master catalog, not by other seller organizations. Occasionally the BuyerXpert administrator (superadmin) updates the master catalog on behalf of a seller organization.Typically, the BuyerXpert administrator (superadmin) maintains the master ontology and the individual seller organizations manage their product items and details.
In SellerXpert, the master catalog and ontology are owned by the seller and only the catalog views belong to the buyer.
Buyer Catalogs
A buyer catalog is a view of a master catalog that selectively shows categories and items in the master catalog. For example, a buyer catalog might contain only office supplies. Or a buyer catalog might be set up to only offer items from a particular seller.A buyer catalog is created and maintained by the BuyerXpert administrator (orgadmin) who has the privilege to create catalogs for the buyers in that organization. Buyer companies can create remote catalogs in addition to local catalogs.
Catalog Roles
A role is a set of privileges that allows a user to perform certain actions in the BuyerXpert/SellerXpert application. When creating a buyer catalog, the BuyerXpert/SellerXpert administrator selectively associates particular buyer roles with the catalog. This authorizes all the buyers who belong to these roles to browse that buyer catalog. In this way, access to catalogs is limited to specific groups of buyers within the organization.Typically, in a buyer organization there is a person who is assigned the BuyerXpert/SellerXpert catalog administrator role. This person has privileges to create buyer catalogs and assign user roles to that catalog, thereby granting access.
There are four types of catalog roles:
BuyerXpert/SellerXpert super administrator (superadmin)
Buyer organization administrator (orgadmin)
- Has all the privileges in Catalog Manager.
BuyerXpert/SellerXpert user
Seller organization administrator (orgadmin) or user
Adds items to designated catalogs.
Approves items added to the catalogs.
Edits and deletes seller catalog items.
Catalog Privileges
There are two types of catalog privileges: the buyer organization privileges and the seller organization privileges as shown in Table 7-1.
Administrator's Catalog Tasks
Creating the master ontology is the first step in implementing a catalog for BuyerXpert/SellerXpert. A collaborative effort between the buyer and seller organizations, creating the master ontology is a one-time event carried out during the initial process of importing the seller catalog(s). Later, the master ontology is maintained by the BuyerXpert administrator (superadmin) using the Catalog interface.After the master ontology is created, seller catalogs can be added to the master catalog using the Import utility, which maps the items and categories in the seller catalog to those of the master catalog.
After a catalog is imported into BuyerXpert/SellerXpert, buyer organizations are given the ability to create private buyer catalogs from the master catalog.
Occasionally, it may be necessary to add, edit, or delete categories and their attributes. This can be done from the Catalog interface.
Note Most instructions for performing the tasks associated with Catalog Manager are contained in the Catalog interface Help.
Table 7-2 contains a list of the key tasks required for catalog administration. The right-hand column provides information about where to find instructions, guidelines, or tools for performing that task.
Table 7-2    Administrator's Catalog Manager Tasks
Task
Location of Instructions/Guidelines/Tools
Creating the Master Ontology section
Create and load a public master catalog for a seller catalog.
Creating a Public Master Catalog section
iPlanet Market Maker Catalog Import GuideCreate a new category and edit or delete existing categories and attributes.
Managing Buyer Catalogs section
Import catalog data; approve catalog items that have been imported.
Importing Catalog Data section
iPlanet Market Maker Catalog Import Guide
Creating the Master Ontology
Once the master ontology is created, it becomes commonly available to all the seller companies to add their product items to the master catalog. Individual sellers store their items with item details in the master catalog which contains all the seller catalogs. To maintain the order and consistency of the master ontology, the BuyerXpert/SellerXpert superadmin assumes ownership.Instructions for creating the master ontology are contained in the Catalog interface Help.
Creating a Public Master Catalog
To create a public master catalog for a seller catalog, you need to convert basic tabular data to a seller catalog hierarchy structure. You define this hierarchy structure with the column structure specification desired for the catalog.The main tasks required to convert a seller catalog to a BuyerXpert/SellerXpert public master catalog are:
Add column hierarchy structure to the seller catalog.
Instructions for creating a public master catalog are contained in the iPlanet Market Maker Catalog Import Guide.Translate the seller catalog format to the public master catalog XML format.
Column Hierarchy
The character separated value (CSV) file defines the seller catalog input information in a tabular text format to be translated to XML format with its column structure hierarchy defined. The seller catalog is then mapped to the public master catalog. For example, here are some entries that define characteristics of pens and pencils:
The "~" character that separates each of the entries is defined in the makefile.
- pens~fine_point~black~red~7
- pens~med_point~black~red~9
- pencils~number_2~blue~green~9
Creating the XML File
For the Import utility to understand the column structure of the tabular input, you need to create an XML column structure specification file that defines the hierarchy structure.
Note You can also use the createxml.sh script to create an XML file as described in the section on Importing Catalog Data.
The character separate value (CSV) and column structure specification files are the minimum required inputs. Additional input files are either optional, or are generated by the Import utility. The input file formats are contained in Table 7-4 in the Importing Catalog Data section.
Further information and instructions for performing the tasks required are contained in the iPlanet Market Maker Catalog Import Guide.
Loading the XML File
Once you have created your public master catalog XML file, you can load it into the catalog database using the following loader command syntax:java com.iplanet.ecommerce.vortex.catalog.catimport.Loader options
Note You can also use the loadfromxml.sh script to load an XML file as described in the section on Importing Catalog Data.
The loader command options are listed in Table 7-3.
Resolving Catalog Hierarchy Issues
Because XML has strong support for hierarchies, the Import utility uses XML syntax to represent the hierarchical structure of the seller and public master catalogs. This means that name and path clashes might occur in the categories in your catalog.Name/path clashes occur in two cases:
Name clashesOccur when categories have the same names except for special characters that are not allowed in the XML name token.
If there are name clashes in your hierarchy, you must resolve them before a public master catalog can be created. Further information and instructions for performing the tasks required are contained in the Catalog interface Help.Path clashesOccur when categories have the same name, but their child categories have different names.
Managing Categories and Attributes
As the superadmin, you can create new categories and edit and delete existing categories from the master ontology. Attributes can be updated at the same time.
Note For the most part, sellers add their own attributes to product items.
Creating a New Category
You may need to create a category and attributes to meet the requirement of one seller company or another. If you are only creating a few categories, it may be more efficient to use the Catalog interface, rather than the Import utility.Typical reasons for creating new categories include:
A new seller catalog has additional categories for the master ontology
Further information and instructions for performing the tasks required are contained in the Catalog interface Help.
Editing a Category
Editing a category allows you to:Further information and instructions for performing the tasks required are contained in the Catalog interface Help.
Deleting a New Category
Deleting a category should be done only after careful consideration, because it results in deleting all the categories down the hierarchy as well. Deleting a category is possible only if there are no items under that category or under any of the categories down the hierarchy.Further information and instructions for performing the tasks required are contained in the Catalog interface Help.
Managing Buyer Catalogs
As the BuyerXpert administrator, you can create, edit, or delete buyer catalogs for your organization.While creating a buyer catalog, the buyer administrator adds the existing buyer roles to that catalog as catalog roles. Buyers in an organization can browse their organization's buyer catalogs if the following are true:
They have the privilege to browse
Creating a Buyer CatalogThey belong to a buyer role that is assigned to the catalog they want to browse
Generally, the BuyerXpert administrator (orgadmin) creates a buyer catalog for one of the following reasons:
So buyers in that organization can purchase items which belong to selected categories only (the other items in the master catalog do not display).
You can create separate catalogs for many groups of buyers in the organization. For example, a catalog for office supplies can be created for a group of buyers who are authorized to purchase office supplies. Another catalog containing high value items can be created for the group of buyers authorized to purchase capital goods. This way, a buyer catalog can be created for an individual group, with access to that catalog limited to the people in that group.So buyers in that organization can purchase items supplied by selected seller companies only (items for other sellers do not display).
Creating a catalog includes four major tasks:
Give a name and description to the catalog.
Further information and instructions for performing the tasks required are contained in the Catalog interface Help.Select seller companies whose products you want to have included in your catalog.
Editing a Buyer Catalog
As BuyerXpert administrator, you can edit the buyer catalogs created for your organization. Editing a buyer catalog allows you to:
Include or exclude products supplied by a particular seller organization from the buyer catalog.
Further information and instructions for performing the tasks required are contained in the Catalog interface Help.Include or exclude items or categories from the buyer catalog.
Add user roles to or remove roles from a buyer catalog to allow or deny access to a group of buyers.
Change the name and description of the catalog in such cases where there is substantial change in the content of the buyer catalog.
Select or deselect the option to dynamically update the items in the buyer catalog.
Deleting a Buyer Catalog
Buyer catalogs are owned by the buyer companies. A BuyerXpert administrator can delete the buyer catalog created for his/her company. The BuyerXpert/SellerXpert superadmin can delete catalogs owned by any company.A typical reason for deleting a buyer catalog is the case where deleting and creating a new version of the catalog is more efficient than editing the existing catalog.
Note Deleting a buyer catalog does not affect the categories and items in the master catalog or other buyer catalogs.
Further information and instructions for performing the tasks required are contained in the Catalog interface Help.
Importing Catalog Data
The Catalog Manager Import utility is a batch process that you can use to import catalog data offline. Full instructions on using the Catalog Manager import utility are contained in the iPlanet Market Maker Catalog Import Guide.The following sections describe the overall process and the scripts used for BuyerXpert/SellerXpert:
Files and ParametersDiscusses creating a makefile for importing.
Using the createxml ScriptExplains this BuyerXpert/SellerXpert script.
Files and Parameters
Before you run the Import utility, you must specify your input files in a makefile.
Note You can also use thecreatexml.sh script to create an XML file as described at the end of this section.
Table 7-4 lists the default input files.
Table 7-4    Import Utility Input Files
Default File Name
Description
Output of the Import utility to be loaded in a public master catalog
To control the output of the Import utility, you can set a number of run-time parameters in the makefile to determine what information the Import utility creates or updates. Table 7-5 lists these parameters.
Scripts
The following scripts should always be run from the working directory:
Using the createxml Script
You can use the createxml.sh script to convert a seller catalog in character separated values (CSV) format to XML format. After all the input files are in the working directory, run the createxml script using the following syntax:createxml.sh -csv csv_file_name -css css_file_name [options]
Options can be listed in any order. All optional files should be in the working directory
Examples
#IAS_ROOT/buyer/bin/catalog/createxml.sh -csv sun_data.csf -css sun_css.xml -attr attr-type.xml -skip 1 -char ','#IAS_ROOT/buyer/bin/catalog/createxml.sh -csv sun_data.csf -css sun_css.xml -attr attr-type.xml -map attr-renaming.xml -skip 1
#IAS_ROOT/buyer/bin/catalog/createxml.sh -csv xyz.csf -css css.xml -attr attr-type.xml -skip 1 -check
#IAS_ROOT/buyer/bin/catalog/createxml.sh -csv xyz.csf -css css.xml -attr attr-type.xml -names n_clashes.xml
#IAS_ROOT/buyer/bin/catalog/createxml.sh -csv sun_data.csf -css sun_css.xml -units units-map.xml
Using the loadfromxml.sh Script
A wrapper loadfromxml.sh script is provided to call the Loader.class. Syntax:loadfromxml.sh <inputs> [options]
The loadfromxml.sh script inputs and options are listed in Table 7-7.
Example
#IAS_ROOT/buyer/bin/catalog/loadfromxml.sh -usr admin -passwd admin -cid staples -xml toys.xml#IAS_ROOT/buyer/bin/catalog/loadfromxml.sh -usr admin -passwd admin -cid mercury.com -xml some.xml -vid staples
#IAS_ROOT/buyer/bin/catalog/loadfromxml.sh -usr admin -passwd admin -cid mercury.com -xml multivendor.xml -approve -mv
#IAS_ROOT/buyer/bin/catalog/loadfromxml.sh -usr admin -passwd admin -cid mercury.com -xml toys.xml -ontology
Previous Contents Index Next
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.
Last Updated September 07, 2001