This example app updates the cell values of the selected records in your base, adding 1 to the current cell value of a field in each record.
The code shows:
-
How to use the Cursor API to detect when a user has selected records in grid view, and how to get the selected records.
-
How to update multiple records from your app.
-
How to check if the user has write permissions before performing an update.
-
Create a new base using the Menu Planning template
-
Create a new app in your new base (see Create a new app), selecting "Update records" as your template.
-
From the root of your new app, run
block run
.