Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CNContact.AddInstantMessage
Adds an instant message account to a contact.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Contacts | 8.4 | Yes | No | No | No | Yes |
MBS( "CNContact.AddInstantMessage"; ContactIdentifier; Name; Service { ; Label } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| ContactIdentifier | The contact identifier. | "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E" | |
| Name | The name of the account. | "Test" | |
| Service | The service for this account. We translate AIM, Facebook, GaduGadu, GoogleTalk, ICQ, Jabber, MSN, QQ, Skype and Yahoo to the right constant for you. |
"Facebook" | |
| Label | The label to use. For your convenience we translate Work, Home and Other to the right values, so they get localized in display. Default label is Other. |
"Work" | Optional |
Result
Returns OK or error.
Description
Adds an instant message account to a contact.This is a convenience function to add just one instant message account with a given label to the contact.
Please call CNContactStore.UpdateContact later to store the values.
See also
- CNContact.AddInstantMessageJSON
- CNContactStore.AddContact
- CNContactStore.NewContact
- CNContactStore.UpdateContact
Example Databases
Created 1st August 2018, last changed 4th August 2018
CNContact.AddEmailAddress - CNContact.AddInstantMessageJSON
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins