BetaData binding
Shared data from a connected app
Beta — ready to use, but some details may still change.
Overview
Read-only rows of a table that another app of your workspace shares with this app, used as the data of a table, list, cards, dropdown or KPI.
Purpose
Show reference data owned by another app — the inventory app's active products in the sales app, the asset register's assets in the field-service app — without copying it. The other app keeps ownership; your app only reads the fields it shares.
Inputs
- Properties → Data → Source Shared: pick one of this app's active shared-data subscriptions (Connections → Use data from another app). Optional search from a search box and a maximum (1–500 rows).
- Dropdowns: Data → Source Shared loads the options (value = the shared record's id, label = the first shared text field, or the Option label field when it names a shared field key).
Configuration
- The server checks every read: the subscription must be active and belong to this app, the viewer's role must be one the subscription allows (team roles by default), test pages read the other app's test data and the live app its live data.
- Live reads need the Pro or Business plan (the component shows the plan message otherwise) and a published source app.
- Storyboard and sandbox previews never read another app; they show an empty state that says so. The builder canvas and preview read test data.
Outputs
- Rows with
idplus the shared fields' keys (Current record › sku …). KPIs compute count / sum / average / min / max over the rows they can read (up to 500).
Example
Products from the inventory app in the sales app
Example
Table · Data: Shared › Products (from Inventory) Columns: sku, name, unit Search from: Product search box
Errors
- “This shared data is waiting for approval” / “no longer available” — the subscription is pending, paused or revoked (Connections).
- “Your role can't see this shared data” — add the role to the subscription.
- “Live connections need the Pro or Business plan” — the live app can't read shared data on this plan.
Limitations
- Read-only: no inline edit, add or delete, no CSV export, no Update record on shared rows.
- Sorting and filtering are fixed by the sharing app (its filter); you can search. At most 500 rows per read.
- Beta.
Advanced
{ type: "shared", subscriptionId, label?, search?, limit? }— allowed only as thedatabinding of SHAREDBINDABLETYPES (engine).useCollection/useAggregatecallGET /api/runtime/<app>/shared/<subscription>(src/server/connections/shared.ts) and build a read-only entity from the returned field list.