Search

map() ex 2

Formula Example Supporter
description
Mapping a list containing pages. - When using the map() function on pages, it transforms the original pages and returns a new list based on the specified expression.
example tags
formula
map(prop("Tasks"), current.prop("Date")) - Let’s say there’s a relation property named Tasks containing three items: [Item 1, Item 2, Item 3]. Each item has a date property called Date: - Item 1 with Date Oct 7, 24 - Item 2 with Date Oct 17, 24 - Item 3 with Date Oct 29, 24 The expression current.prop("Created Time") extracts Date of each page and results in a list containing Dates. (Also, notice how this is similar to Rollup!)
linked blog post
results
,,,,,