Skip to content

BasesViewConfig.getDisplayName method

BasesViewConfig › getDisplayName

Official

Retrieve a friendly name for the provided property. If the property has been renamed by the user in the Base config, that value is returned. File properties may have a default name that is returned, otherwise the name with the property type prefix removed is returned.

Signature:

getDisplayName(propertyId: `note.${string}` | `formula.${string}` | `file.${string}`): string

Parameters:

Parameter Type Description
propertyId note.${string} | formula.${string} | file.${string}

Returns: string

Since: 1.10.0