Addressbook.formattedAddress
----------------------------

Returns an attributed string containing the formatted address.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Addressbook](component_Addressbook.md) | [3.1](newinversion31.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md). Use [Contacts](component_Contacts.md) functions instead.

MBS( "Addressbook.formattedAddress"; Address ) 

**MBS**( **"Addressbook.formattedAddress";** /\* Returns an attributed string containing the formatted address. \*/  
**$Address**) /\* The dictionary containing a street address. Same format as [Addressbook.record.valueForProperty](AddressbookrecordvalueForProperty.md) returns. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Address | The dictionary containing a street address. Same format as [Addressbook.record.valueForProperty](AddressbookrecordvalueForProperty.md) returns. | $address |

### Result

Returns formatted address text or error.

### Description

Returns an attributed string containing the formatted address.  
The address is usually defined by plugin to have keys like Street, City, State, Country or Zip followed by an equal sign and the actual value.  
### See also

- [Addressbook.record.valueForProperty](AddressbookrecordvalueForProperty.md)

### Example Databases

- [Mac and iOS/Addressbook/Addressbook](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Addressbook/Addressbook.shtml#4ScriptAnchor_)

### Blog Entries

- [Filemaker and the Mac OS X Addressbook](https://www.mbsplugins.de/archive/2013-05-04/Filemaker_and_the_Mac_OS_X_Add/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 21st August 2014

  
[Addressbook.enabledAccounts](AddressbookenabledAccounts.md) - [Addressbook.group.addMember](AddressbookgroupaddMember.md)

[HTML Version](AddressbookformattedAddress.shtml)