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: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  

CNContact.Show

Shows a contact as sheet.

Component Version macOS Windows Linux Server iOS SDK
Contacts 10.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContact.Show"; ContactIdentifier )   More

Parameters

Parameter Description Example
ContactIdentifier The contact identifier. "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E"

Result

Returns OK or error.

Description

Shows a contact as sheet.
Shows Cancel and Edit buttons to work on the contact.

Does currently not work on MacOS due to bugs in Apple frameworks.
Implemented for macOS as popover in v12.5.

Examples

Show contact:

# show a contact by ID (iOS only currently)
Set Variable [ $r ; Value: MBS( "CNContact.Show"; PlaceHolder::ContactID ) ]
If [ MBS("IsError") ]
    Show Custom Dialog [ "Failed to show contact" ; $r ]
End If

See also

Release notes

Example Databases

Blog Entries

Created 31st January 2020, last changed 23th September 2022


CNContact.SetValue - CNContact.ShowInAddressbook

Feedback: Report problem or ask question.


Start Chat