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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Joins several search elements.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 5.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
This function was deprecated. Use Contacts functions instead.
Parameter | Description | Example |
---|---|---|
conjunction | The logical operator with which to combine the search elements. Can be "AND" or "OR". | "AND" |
SearchElements | List of search element IDs. |
Returns ID or error.
Find people with last name and email matching:
Set Variable [$e1; Value:MBS( "Addressbook.searchElementForProperty"; "person"; "LastNameProperty"; ""; ""; "Schmitz"; "ContainsSubStringCaseInsensitive" )]
Set Variable [$e2; Value:MBS( "Addressbook.searchElementForProperty"; "person"; "EmailProperty"; ""; ""; "monkeybread"; "ContainsSubStringCaseInsensitive" )]
Set Variable [$e; Value:MBS( "Addressbook.searchElementForConjunction"; "and"; $e1 & ¶ & $e2 )]
Set Variable [$records; Value:MBS( "Addressbook.recordsMatchingSearchElement"; $e)]
Set Variable [$record; Value:GetValue($records; 1)]
Set Variable [$name; Value:MBS( "Addressbook.record.displayname"; $record )]
Show Custom Dialog [$name]
Created 26th October 2015, last changed 26th October 2015
Addressbook.save - Addressbook.searchElementForProperty
Feedback: Report problem or ask question.