prop("People")
=
🧔🏻♂️ Ben Smith 👵🏻 Mum
[🧔🏻♂️ Ben Smith, 👵🏻 Mum]
As a Person property can contain more than one person, it will always return a list. This means that formula elements like name can only be accessed by adding in a first function.
prop("People")
.first()
.name()
Built-in Person Properties #
Notion formulas come with two built-in Person properties, meaning that this data can be accessed without having to add additional properties to the database.
- Created By: displays the user who created the page.
- Last Edited By: displays the user who last edited the page.
prop("Created By")
=
🧔🏻♂️ Ben Smith
🧔🏻♂️ Ben Smith
As these built-in properties can only contain a single person entry, the name and email elements can be accessed on them directly without having to use first as well.
prop("Created By")
.name()
prop("Last Edited By")
.email()