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
CNContactStore.ContactsMatchingName
Queries matching contacts for a name.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Contacts | 8.4 | Yes | No | No | No | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Name | The name to match against. | "Joe Miller" |
Result
Returns list or error.
Description
Queries matching contacts for a name.Returns list of contact identifiers.
This will use unified contacts, so data is merged from several sources.
Examples
Query name of first contact found with given name:
MBS("CNContact.Name"; GetValue ( MBS( "CNContactStore.ContactsMatchingName"; "Joe Miller" ); 1))
See also
- CNContact.Name
- CNContactStore.Contacts
- CNContactStore.ContactsMatchingEmailAddress
- CNContactStore.ContactsMatchingPhoneNumber
- CNContactStore.ContactsWithData
Example Databases
Blog Entries
Release notes
- Version 10.1
- Fixed CNContactStore.Contacts, CNContactStore.UnifiedMeContact, CNContactStore.ContactsInGroup, CNContactStore.ContactsMatchingName and others to work if your iOS application has not the entitlement to access notes in contacts.
Created 1st August 2018, last changed 21st September 2018
CNContactStore.ContactsMatchingEmailAddress - CNContactStore.ContactsMatchingPhoneNumber
Feedback: Report problem or ask question.
Links
MBS Xojo blog