Updates the Product Advisor separate search space to reflect products being removed from categories in the WebSphere Commerce catalog. This command does not affect the base search space.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path
Parameter values
- categoryId
- (Required) The category reference number of the category from which the products were removed.
- productId
- (Required) A list of all product reference numbers affected during the WebSphere Commerce catalog updates. This parameter can be repeated.
Behavior
- Called by the Loader utility after products have been removed from the WebSphere Commerce catalog.
- Verifies access control of the user on whose behalf the command will be run; only a person with a role of Merchant can invoke this command.
- Accepts a category ID and a list of products as input. These parameters are generated by the above applications, and represent all of the products that were removed from the specified category during the application's processing.
- Determines whether a search space has been defined for the specified category. To determine this, the ICROOTCAT table is queried. If there is a row corresponding to the category, then the command continues. If there is not a row for the category, then the command completes processing without performing any further actions. This condition is not considered an error.
- For each supplied product ID that is included in a search space, the command deletes the row from the search space.
Exception Conditions
None.