Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Adds an postal address to a contact.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Contacts 8.4 Yes No No No Yes
MBS( "CNContact.AddPostalAddress"; ContactIdentifier { ; Label; Street; City; State; postalCode; country; ISOCountryCode; subLocality; subAdministrativeArea } )   More


Parameter Description Example value
ContactIdentifier The contact identifier. "46B1E34D-58F9-4B6B-A80D-0F71ABB87A0E"
Label Optional
The label to use.
For your convenience we translate Work, Home and Other to the right values, so they get localized in display.
Default label is Other.
Street Optional
The street name with house number.
"Teststreet 123"
City Optional
The city name.
State Optional
The name of the state.
postalCode Optional
The postal code.
country Optional
The name of the country.
ISOCountryCode Optional
The ISO country code.
subLocality Optional
The sub locality.
Only used on MacOS 10.12.4 or iOS 10.3 and newer.
subAdministrativeArea Optional
The sub administrative area.
Only used on MacOS 10.12.4 or iOS 10.3 and newer.


Returns OK or error.


Adds an postal address to a contact.
This is a convenience function to add just one postal address account with a given label to the contact.
Please call CNContactStore.UpdateContact later to store the values.

See also

Example Databases

Created 1st August 2018, last changed 3th August 2018

CNContact.AddPhoneNumber   -   CNContact.AddPostalAddressJSON

Feedback: Report problem or ask question.

MBS Xojo Plugins