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


Returns value for label.

Component Version macOS Windows Linux Server iOS SDK
Addressbook 6.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes


This function was deprecated. Use Contacts functions instead.

MBS( "Addressbook.multivalue.valueForLabel"; label )   More


Parameter Description Example
label The label to query. $label


Returns value or error.


Returns value for label.


Shows different emails:

Set Variable [$personID; Value:"637FA922-7A2B-4F9A-BFA3-023253D4A3D5:ABPerson"]
Set Variable [$r; Value:MBS( "Addressbook.record.valueForProperty"; $personID; "EmailProperty" )]
Set Variable [$w; Value:MBS( "Addressbook.multivalue.valueForLabel"; "EmailWorkLabel" )]
Set Variable [$h; Value:MBS( "Addressbook.multivalue.valueForLabel"; "EmailHomeLabel" )]
Set Variable [$o; Value:MBS( "Addressbook.multivalue.valueForLabel"; "OtherLabel" )]
Show Custom Dialog ["Emails"; "Work email: " & $w & ¶ & "Home email: " & $h & ¶ & "Other email: " & $o]
# there may be more than 3 labels!

See also

Blog Entries

This function checks for a license.

Created 26th February 2016, last changed 26th February 2016

Addressbook.multivalue.valueForIdentifier - Addressbook.multivalue.values