Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CNContactStore.DataWithContacts

Queries data for contacts.

Component Version macOS Windows Linux Server iOS SDK
Contacts 8.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContactStore.DataWithContacts"; Identifiers )   More

Parameters

Parameter Description Example
Identifiers The list of contact identifiers for this operation.

Result

Returns contact idenifiers or error.

Description

Queries data for contacts.
Contacts are serialized as vCards and you can write that text to a vCard file.
This converts between a contact and it's vCard representation.

This will use unified contacts, so data is merged from several sources.

Examples

Find people and get get vCard:

Set Variable [ $Identifiers ; Value: MBS( "CNContactStore.ContactsMatchingName"; "Schmitz" ) ]
Set Variable [ $Data ; Value: MBS( "CNContactStore.DataWithContacts"; $Identifiers ) ]

See also

This function checks for a license.

Created 1st August 2018, last changed 11st January 2021


CNContactStore.Country - CNContactStore.DefaultContainerIdentifier