Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CNContactPicker.Current

Queries the current contact.

Component Version macOS Windows Linux Server iOS SDK
Contacts 10.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContactPicker.Current" )

Parameters

none

Result

Returns contact identifier or error.

Description

Queries the current contact.
Can be called in trigger script to query current contact selected.
For multiple selection mode, this returns list of contacts.

Examples

Checks what user selected in the triggered script:

Set Variable [ $contactID ; Value: MBS("CNContactPicker.Current") ]
Set Field [ PlaceHolder::ContactID ; $contactID ]
Set Field [ PlaceHolder::First Name ; MBS( "CNContact.Value"; $contactID; "givenName" ) ]
Set Field [ PlaceHolder::Last Name ; MBS( "CNContact.Value"; $contactID; "familyName" ) ]

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 31st January 2020, last changed 13th May 2026


CNContactPicker.Close - CNContactPicker.CurrentProperties


MarkDown version: CNContactPickerCurrent.md