Share an entity’s records across spaces
Section titled “Share an entity’s records across spaces”This guide is for builders of applications used in more than one space — for example one space per branch or per agency. By the end you will know where an entity’s records are kept, how to let a chosen group of spaces share records, and how to decide where new records are saved.
If your organization works in a single space, you do not need anything on this page: every record is visible in that space, subject to the usual permissions.
For a complete head-office-and-branches design, see Design an app for several branches.
How stores work
Section titled “How stores work”Every record is kept in exactly one store, and the store decides which spaces can see the record. Each entity has three kinds:
| Store | Visible in | Created |
|---|---|---|
| Public | Every space | Automatically, with the entity |
| Private | Only the space the record was created in (each space has its own) | Automatically, with the entity |
| Shared | Only the spaces you choose — at least two | By you, when needed |
People in a space see records from every store that covers their space: the public store, their own space’s private store, and any shared store that includes their space. Permissions still apply on top.
Where new records go. Each store has a Weight. When someone creates a record, it is saved in the store with the highest weight among those that cover their space. Out of the box the public store has weight 100 and the private store 50, so new records are public — visible in every space.
Take a Contracts entity used by three regional spaces. North and South work together and should see each other’s contracts; West should not see them.
- Create a shared store North–South covering the North and South spaces, with weight 150. New contracts created in North or South now go into it.
- West still saves to the public store. To keep West’s contracts to West, raise the private store’s weight above the public one (for example to 120).
Create a shared store
Section titled “Create a shared store”- Open the entity and select its Stores tab. It lists the public, private and shared stores of the entity.
- Select New Shared Store.
- Enter a Name and, optionally, a Description.
- In Spaces, choose the spaces that share the records — at least two.
- Enter a Weight. Use a number higher than 100 if new records created in those spaces should go into this store. Each store of an entity needs a different weight.
- Save.
Change where new records are saved
Section titled “Change where new records are saved”- On the entity’s Stores tab, select the store you want to change — public, private or shared.
- Change its Weight: the higher the number, the more it is preferred.
- Save.
Only the weight of the public and private stores can be changed. For a shared store you can also change its name, description and spaces.
Good to know
Section titled “Good to know”- Weights affect new records only. Records already saved stay in their store.
- Records follow their space. The same record list shows different records in different spaces; that is expected.
- Large lists. The platform indexes stores for you so that long lists load quickly; there is nothing to set up.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to check |
|---|---|
| The store weight is unique on the entity level | Another store of this entity already uses that weight. Pick a different number. |
| You must select at least 2 spaces. | A shared store needs two or more spaces. |
| Records created in a space are visible everywhere | They went to the public store. Give a shared or private store a higher weight than the public store. |
| A record is missing in one space | It is in a store that does not cover that space — for example another space’s private store. |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27