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.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

CNContact.Show

Shows a contact as sheet.

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

Parameters

Parameter Description Example value
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 FileMaker blog