Skip to main content

Set Record Properties

This node updates specific fields of an existing database record.

The Set Record Properties node modifies data in the cloud.

The Set Record Properties node allows you to update one or more columns of a specific record. It dynamically exposes inputs for the table's columns. You can choose to update only the connected fields or overwrite the entire record.

Inputs​

General​

DataDescription
ClassThe database collection.
Record IdThe ID of the record to update.
Properties to store"Only specified" (updates only connected inputs) or "All" (saves the entire model state). Default: "Only specified".
Store to"Cloud and local" (saves to DB) or "Local only" (updates temporary cache only). Default: "Cloud and local".

Properties​

DataDescription
*Dynamic inputs for table columns. Connect values here to update them.

Actions​

SignalDescription
DoTriggers the update (save) operation.

Outputs​

Events​

SignalDescription
SuccessTriggered when the update is confirmed by the server.
FailureTriggered if the update fails.

Usage​

Updating a Profile​

  1. Select Class: "Profiles".
  2. Connect the current user's Profile ID to Record Id.
  3. Connect a Text Input to the "Bio" input port.
  4. Trigger Do when the user clicks "Save".

Detailed Behavior​

  • Partial Update: By default ("Only specified"), it sends a PATCH request with only the changed fields, which is efficient and safe.
  • Optimistic UI: The local model is updated immediately. If the server request fails, you may need to handle rollback manually (though the node will trigger Failure).

Troubleshooting​

  • Missing Id: The update will fail if Record Id is empty.
  • Permission Denied: Ensure the user has write access to this record via RLS policies.