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:
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
Statistic
FMM
Blog
CNContact.DeleteValue
Deletes a value of a contact.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
Contacts | 10.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameters
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 |
Result
Returns OK or error.
Description
Deletes a value of a contact.Selector can be birthday, contactRelations, dates, departmentName, emailAddresses, familyName, givenName, imageData, imageDataAvailable, instantMessageAddresses, jobTitle, middleName, namePrefix, nameSuffix, nickname, nonGregorianBirthday, organizationName, phoneNumbers, phoneticFamilyName, phoneticGivenName, phoneticMiddleName, phoneticOrganizationName, postalAddresses, previousFamilyName, socialProfiles, thumbnailImageData, note, type, ImageData and thumbnailImageData or urlAddresses.
PhoneNumbers, emailAddresses, postalAddresses, urlAddresses, contactRelations, socialProfiles, instantMessageAddresses and dates can specify a label/identifier to delete only one entry.
Examples
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")
See also
Blog Entries
- New in the MBS FileMaker Plugin 10.1
- Neues MBS FileMaker Plugin 10.1 - Über 6100 Funktionen in einem Plugin
- MBS FileMaker Plugin 10.1 - More than 6100 Functions In One Plugin
- MBS FileMaker Plugin, version 10.1pr6
Release notes
- Version 10.1
- Added CNContact.DeleteValue function.
Created 2nd March 2020, last changed 2nd March 2020
CNContact.AddURLAddress - CNContact.EditInAddressbook
Feedback: Report problem or ask question.

Links
MBS FileMaker Plugins