|
Whitebeam Template Reference Documentation
|
Contact Template
unlinkItemContacts()
- Available since version 0.9.36 Remove all contact records from a catalogue item.
Syntax
number = rb.contact.unlinkItemContacts(item, type)
Parameters
The 'unlinkItemContacts' method takes 2 parameters:
Name | Type/Value | Range/Length | Description | item | number | | Required. The Catalogue Item ID from which all contacts are to be removed. | type | string | | Optional. Type of things to be removed. Set to 'INDIVIDUAL', 'COMMUNITY' or 'OU'. If not specified then removes all linked items. |
Results
The 'unlinkItemContacts' method returns number:
Type/Value | Range/Length | Description |
number |
  | Returns 1 if successful -1 otherwise. |
Remarks unlinkItemContacts() is used to un-associate all contact records currently associated with a specific catalogue item Note This method is new to release 0.9.36. |
|
(loadtime : 82ms) |