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: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Addressbook.record.displayname

Convenience function to return a display name for a record.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 3.1 Yes No No No Yes
MBS( "Addressbook.record.displayname"; RecordID )   More

Parameters

Parameter Description Example value
RecordID The unique ID for the target person or group. $personID

Result

Returns name or error.

Description

Convenience function to return a display name for a record.
Returns firstname & lastname for persons, organization name for organizations and group name for groups.

Examples

Query display name of first group:

MBS( "Addressbook.record.displayname"; ElementLeft ( MBS( "Addressbook.groups" ) ; 1 ))

Query display name of addressbook's owner:

MBS( "Addressbook.record.displayname"; MBS( "Addressbook.me" ))

Query display name based on a ID:

MBS( "Addressbook.record.displayname"; "CFD73A44-24DD-480F-A1DE-A31926BC4AC7:ABPerson" )

See also

Example Databases

Created 18th August 2014, last changed 18th February 2016


Addressbook.record.UniqueID   -   Addressbook.record.isReadOnly

Feedback: Report problem or ask question.




Links
MBS FileMaker blog