|
Whitebeam Template Reference Documentation
|
Contact Template
modifyCommunity()
Modifies community information.
See Also
rb.contact.remove rb.contact.link rb.contact.createCommunity Syntax
number = rb.contact.modifyCommunity(values)
Parameters
The 'modifyCommunity' method takes 1 parameter:
Results
The 'modifyCommunity' method returns number:
Type/Value | Range/Length | Description |
number |
-1, or positive integer | ID of the modified record, or -1 if the record couldn't be modified.
|
Remarks Modify changes all of those properties which are set in the passed values object. Properties which are not set in the object will not be changed in the contact database. ID must be set for modify to succeed Example The following example gets the community information for "friends", and modifies the description string
friends = rb.contact.communityInfo(-1, "friends")
if(friends != null){
friends.description = "A new description";
rb.contact.modifyCommunity(friends);
}
|
|
(loadtime : 88ms) |