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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Queries contact as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
ContactIdentifier | The contact identifier. | "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E" | |
SkipImage | Available in MBS FileMaker Plugin 8.5 or newer. If you pass 1, we skip the images. Default is 0 to include images. |
1 | Optional |
Returns JSON or error.
Query your JSON:
MBS( "CNContact.JSON"; MBS( "CNContactStore.UnifiedMeContact" ) )
Get formatted and colored JSON:
Set Variable [ $json ; Value: MBS( "CNContact.JSON"; MBS( "CNContactStore.UnifiedMeContact" ) ) ]
Set Variable [ $json ; Value: MBS("JSON.Colorize"; MBS( "JSON.Format"; $json) ) ]
Set Field [ Contacts::Result ; $json ]
Get JSON of a person:
Let([
contacts = MBS( "CNContactStore.ContactsMatchingName"; "Christian Schmitz" );
contactID = GetValue(contacts; 1);
json = MBS( "CNContact.JSON"; contactID; 1 )
];json)
Created 1st August 2018, last changed 9th February 2022