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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.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]
This function is free to use.
Created 26th October 2015, last changed 26th October 2015