Develop > Presentation layer > Customize marketing > Work with Product Advisor > AddProductsToSearchSpace URL
RemoveProductsFromSearchSpace URL
Updates the Product Advisor separate search space to reflect products being removed from categories in the WebSphere Commerce catalog.
Updates the Product Advisor separate search space to reflect products being removed from categories in the WebSphere Commerce catalog. This URL does not affect the base search space.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
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 massload 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 preceding 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.
Related concepts
Related tasks
Create a Product Advisor search space manually for the separate search space
Related reference
RemoveProductsFromAllSearchSpaces URL