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.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.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

  • Version 12.5
  • Version 10.1

Example Databases

Blog Entries

This function checks for a license.

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


CNContact.SetValue - CNContact.ShowInAddressbook

💬 Ask a question or report a problem