|
Whitebeam Template Reference Documentation
|
Catalogue Template
category.linkItems()
Creates and removes associations between an item and categories in the catalogue.
See Also
rb.catalogue.category.unlinkItem() rb.catalogue.category.linkItem() rb.catalogue.category.item.create() Syntax
number = rb.catalogue.category.linkItems(itemID, parentNodeIDList)
Parameters
The 'category.linkItems' 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. | parentNodeIDList | array of numbers | Valid nodeID | Required. A list of category nodeIDs. If the nodeID is negative then remove association between this item and the absolute value of the node ID specified. |
Results
The 'category.linkItems' 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 : 92ms) |