Using the Notion source in the YOOtheme builder
As soon as the token is entered, the Notion source is available in the YOOtheme builder. This page shows how to fill an element with data from a Notion database.
Choosing the source
- Open the page in the YOOtheme builder and insert an element that can display lists (a grid, for example).
- Enable Dynamic Content in its settings.
- Choose Notion Database Items as the source.
- In the field Database, select the Notion database you want from the list.
Filtering, sorting, limiting
The source comes with several options for narrowing down the entries:
| Filter: property name | Name of the Notion property to filter on (for example Status). Empty = no filter. |
| Filter: value | The value being looked for (for example Published). |
| Filter: property type | Type of the property: select, status, text, checkbox (true/false) or number. It must match the field in Notion. |
| Sorting: property name | Property to sort by. Empty = no sorting. |
| Sort direction | Ascending or descending. |
| Number of entries | Maximum number of entries. 0 = load all. |
Property names are expected exactly as they are spelled in Notion — including capitalisation and spaces. A typo means the filter does not take effect.
Assigning fields
Inside the dynamic element you assign the Notion fields to the individual parts (title, text, image, link …). Which fields exist and how they are grouped is described in the chapter Fields and properties.
Applies to version 1.2.3.