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
Deletes a value of a contact.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 10.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
ContactIdentifier | The contact identifier. | "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E" | |
Selector | Which value to set. | "givenName" | |
Identifier | Identifier or label to delete only one entry in a list. Pass empty text to delete all. |
Optional |
Returns OK or error.
Delete home address:
MBS( "CNContact.DeleteValue"; $contactID; "postalAddresses"; "home")
Delete all emails:
MBS( "CNContact.DeleteValue"; $contactID; "emailAddresses"; "")
Delete job title:
MBS( "CNContact.DeleteValue"; $contactID; "jobTitle")
Created 2nd March 2020, last changed 2nd March 2020
CNContact.AddURLAddress - CNContact.EditInAddressbook
Feedback: Report problem or ask question.