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.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1    Statistic    FMM    Blog  

CNContact.Show

Shows a contact as sheet.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Contacts 10.1 ❌ No ❌ 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.

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

Example Databases

Blog Entries

Release notes

Created 31st January 2020, last changed 8th February 2020


CNContact.SetValue   -   CNContact.ShowInAddressbook

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos

Start Chat