-
Goal: Edit table and save the data
-
Steps:
- Table is hooked up to postgres and is displaying data.
- Column I'm editing is marked as "editable"
- Editing query is set up using GUI query with following configuration:
Action type: Bulk update via a primary key
Primary key column: id
Array of records to update: {{ table1.changesetArray }}
Run behavior: Manual
- Connect Save Actions Add-on to the script
- Edit column and click save
Expected Result: changes to column save. Notice of pending changes disappears.
Actual result: changes do not save. Notice of pending changes shows 1 pending change.
- Details: Been having a hell of a time just getting basic editing working. I've gone through these guides: Editable table columns, Bulk updates
I think I have everything set up together, and the logs show that the script ran successfully, but the data in the table doesn't change.
- Screenshots:
Bulk edit configuration:
Save Action trigger:
Table I'm editing:
Console showing success: