|
Whitebeam Template Reference Documentation
|
Catalogue Template
category.linkItem()
Associates an item with a parent category.
See Also
rb.catalogue.category.unlinkItem() rb.catalogue.category.item.create() Syntax
number = rb.catalogue.category.linkItem(itemID, parentNodeID)
Parameters
The 'category.linkItem' method takes 2 parameters:
Name | Type/Value | Range/Length | Description | itemID | number | Valid itemID | Required. Identifier of the item being linked to a category node. | parentNodeID | number | Valid nodeID | Required. Identifier of the node that is to be the parent of the item. |
Results
The 'category.linkItem' method returns number:
Type/Value | Range/Length | Description |
number |
itemID, -1 |
Identifier of the item being linked.
|
Remarks
An item can be explicitly associated with one or more existing categories. An item that is not explicitly linked
using this method is referred to as an 'orphan' item (default when created).
|
|
(loadtime : 345ms) |