Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.multivalue.valueForLabel
Returns value for label.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 6.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
Parameters
Parameter | Description | Example |
---|---|---|
label | The label to query. | $label |
Result
Returns value or error.
Description
Returns value for label.Examples
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
- Addressbook.multivalue.indexForLabel
- Addressbook.multivalue.labelAtIndex
- Addressbook.multivalue.valueAtIndex
- Addressbook.multivalue.valueForIdentifier
- Addressbook.multivalue.values
- Addressbook.record.valueForProperty
Blog Entries
This function checks for a license.
Created 26th February 2016, last changed 26th February 2016
Addressbook.multivalue.valueForIdentifier - Addressbook.multivalue.values