|
Whitebeam Template Reference Documentation
|
System Template
linkContacts()
- Available since version 1.3.12 Link a specific file to one or more contact IDs
See Also
rb.file.get() Syntax
number = rb.file.linkContacts(fileID, contactIDs)
Parameters
The 'linkContacts' method takes 2 parameters:
Name | Type/Value | Range/Length | Description | fileID | number | Valid fileID | Required. Identifier of file to be removed from the catalogue. | contactIDs | array of numbers | Valid fileID | Required. Identifier of file to be removed from the catalogue. |
Results
The 'linkContacts' method returns number:
Type/Value | Range/Length | Description |
number |
0.. |
0 if the file doesn't exist, 1 if the changes are successfully made
|
Remarks This method links (or unlinks) a specific file (by ID) to a list of one or more contact IDs. The contacts can
be OUs, Communities or Individuals. If a value in the contactID array is +ve then the contact is linked to
the file. If it is -ve then the link is broken. Note: the file must exist, the contacts do not have to exist. No error is reported if the
file is already attached/detached from a contact. The method expresses an intent for contact associations. |
|
(loadtime : 66ms) |