This command adds a relationship between a parent catalog group and a child catalog group. This command is called by the Product Management tools in the WebSphere Commerce Accelerator.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- catalogId
- (Required) The reference number of the catalog.
- catgroupIdParent
- (Required) The reference number of the source catalog group.
- catgroupIdChild
- (Required) The reference number of the target catalog group.
- rule
- Reserved for IBM internal use.
- seq
- The sequence that determines the display order of the contents of the catalog group.
- URL
- The URL to be called when the command completes successfully.
Example
The following example creates a catalog group to subcategory relationship, with parent catalog group 8006 and child catalog group 9000:
http://host_name/webapp/wcs/stores/servlet/CatGroupRelAdd? catalogId=6000&catgroupIdParent=8006&catgroupIdChild=9000 &rule=hell0&seq=1&URL=LogonForm
Behavior
- This command creates a relationship between two catalog groups in the CATGRPREL table.
Exception conditions
None.