Develop > Presentation layer > Customize marketing > Work with Product Advisor
AddProductsToSearchSpace URL
Updates the Product Advisor separate search space product assignment to a category.
Updates the Product Advisor separate search space product assignment to a category. This URL is only called if products are assigned to a category. This URL does not affect a 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 added.
- 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 added to 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 or merchandising manager 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 added to the specified category during the application's processing.
- Determines whether a search space has been defined for the specified category using the ICROOTCAT table.
- For each supplied product ID, the command adds a row into the search space.
Exception Conditions
None.
- RemoveProductsFromAllSearchSpaces URL
Updates the Product Advisor separate search space following product deletions from the WebSphere Commerce catalog.
- RemoveProductsFromSearchSpace URL
Updates the Product Advisor separate search space to reflect products being removed from categories in the WebSphere Commerce catalog.
- UpdateSearchSpaces URL
Updates the Product Advisor separate search space following updates to products in the WebSphere Commerce catalog. This URL does not update the base search space.
Related concepts
Related tasks
Create a Product Advisor search space manually for the separate search space
Related reference
RemoveProductsFromSearchSpace URL
RemoveProductsFromAllSearchSpaces URL