Sources and workbooks
This page lists the limits of the Google Sheets source, the xlsx source, and a project that holds several workbooks.
Google Sheets source
ExportUrl mode is read-only
What. Push, reflect, structure edit and delete are all disabled in ExportUrl mode.
Why. ExportUrl is the unauthenticated, link-shared export path. It is read-only by nature. Push always requires SheetsApi credentials, and that is enforced before any network call.
Workaround. For any write-back, use SheetsApi mode with a service account. See Google Sheets setup.
ExportUrl requires a gid map
What. An empty gid map fails the import. Duplicate gids are rejected.
Why. A gid-less export URL silently returns only the first tab. That is a silent-corruption trap, so the import rejects it. SheetsApi discovers tabs automatically.
Workaround. Register each tab's #gid= value, or use SheetsApi.
Push deletes rows by key
What. When you delete a record locally, push removes it from the live sheet. Push does so only after the pre-send fetch confirms that the key still sits on the row your import saw.
| Live sheet | Result |
|---|---|
| The row is already gone | Counts as done. Pushing again is idempotent |
| The key is on a different row | Skipped with a notice. Never deleted by position |
Deletions have their own section in the approval summary. They are sent last, bottom-up per tab.
Why. Matching by key against the live sheet makes deletion safe on a sheet that may have drifted. Anything the match cannot confirm is left alone.
Limit. A source without the row-delete capability, such as a custom provider that never implemented it, does not delete. The deletion is reported, and the live row is left for you to remove.
Push skips conflicting cells
What. Push skips the following with warnings. It does not overwrite them.
- Cells edited by a third party since your import
- Rows whose key cannot be matched to a single row
- Missing rows
- Duplicate live keys
Why. Skipping protects other people's changes and prevents writes to the wrong row. The cells that are sent are still valid.
Workaround. Check how many cells the report says were applied and skipped. Re-import to reconcile, then Push again. A conflict-resolution UI would be a separate feature, and it is not planned.
Push requires a key column
What. A changed tab with no RecordId key column cannot be pushed. It is a plan error that blocks the whole Push. Every tab sends zero, and there is no partial send.
Why. Push re-locates rows by key in the live sheet. Without a key, the wrong-row guard cannot hold.
Workaround. Add a key column, or Export to a file and paste.
xlsx source
Tab rename
What. Tab rename excludes xlsx-backed tabs.
Why. The exclusion protects xlsx files that hold several sheets.
Workaround. Rename the sheet in the xlsx file, then re-import.
Key rename propagation
What. Key-rename propagation into an xlsx-backed tab blocks the whole batch.
Why. The xlsx path cannot do surgical cell updates safely, and partial reflection is never allowed.
Workaround. Edit that tab in the xlsx file, then re-import.
Rejected cells
What. Unrepresentable cells are rejected:
- Formula cells without cached values
- Error cells
- Tabs or newlines inside a cell
Why. The built-in OOXML reader is intentionally minimal, with zero third-party code.
Workaround. Materialize formulas. Use ; for lists.
Values only
The xlsx source reads values only. Formulas, dates and formatting are interpreted as follows.
| In the xlsx file | What is imported |
|---|---|
| A formula cell | Its cached value, never recalculated |
| A date-formatted cell | yyyy-MM-dd display text |
| Number formats, merged cells and charts | Not imported |
The web app's import dialog says what actually happened, in a note titled How this workbook was read.
In the editor the same policy applies silently per cell. The rejections in Rejected cells still report per cell.
Exported dropdown rules
Some exported dropdown rules cannot be carried.
The export is one xlsx file. A reference column's dropdown is therefore written as a real range over the target sheet's key column. That is the same meaning the Google rule has.
Three cases are still left out. They are named together in a single DropdownNotSupportedByFormat warning.
- A list member that contains a comma. The inline separator would split it.
- An inline list over the format's 255-character cap, quotes included.
- A range whose target tab is not in the xlsx file.
The values export in full either way. See Dropdowns written into the sheet.
Several workbooks in one project
Names are unique project-wide
Tab names and sheet-defined enum names must be unique project-wide. That means across every workbook, or settings asset, not merely within one.
A tab name is the addressable address (SheetForge/{tab}) and the generated type name ({tab}Database). Two workbooks cannot both own it.
An import that would collide is refused outright. The message names the settings asset that already owns the name, and it lists every collision at once.
Prefixing names per workbook was considered and rejected. It would change both the address and the runtime type, so game code would have to be rewritten to gain nothing.
What import, export and push act on
Import follows the active set, the workbooks you are working on. Export and Push follow a preference.
| Action | Acts on |
|---|---|
| ↓ Import | Every active workbook, in dependency order |
| Pull every workbook | Every workbook in the project |
| Export and Push | The open workbook or every active one |
Pull every workbook is in the toolbar when a Google Sheets workbook is in play, and otherwise in ⋯ and in the status bar's last-import menu. Getting Started has it too. SheetForgeActions.RunImportAll() runs the same import from code.
In the Data Studio's ⚙ Settings, Export and Push apply to decides whether Push and the settings Inspector's Run Export act on the open workbook or on every active one. The toolbar's Download ▾ menu writes the sheets you pick in it.
Reflecting is not governed by that preference. Staged edits are always written to the workbook their tab belongs to.
Import the active set describes both import buttons. Export and Push scope describes the preference.
Switching the open workbook
Switching the open workbook never asks. Staged edits are kept, and each is written to its own workbook at the next reflect. A notice says how many you are leaving behind.
The reflect writes the referenced workbook first and stops at the first failure. The workbooks written before the failure hold the new data, while the rest keep their staging.
A reference between them may be broken until you reflect again. The next import's recheck reports and blocks that.
Batch imports
A batch import does not ask before each workbook, but it skips none of the checks. Each workbook in the batch runs the same pipeline with the same gates.
A workbook that fails validation is reported in the summary and leaves its own sheets quarantined. The rest still import.
A workbook that failed only because it references a workbook imported later in the same batch is queued once more at the end.
References into an unchecked workbook
A reference into a workbook whose last import cannot be checked is a warning, except for enums. The last import cannot be checked when its snapshot is unreadable, empty or failed.
| Column | Diagnostic |
|---|---|
| A reference field into that workbook | A ReferenceTabUnverified warning |
| A column typed with an enum defined in that workbook | An error |
A reference resolves to a key at runtime. An enum value is baked to an integer that needs the definition.
To clear both, import that workbook first.
Broken references block exits
An import that breaks another workbook's references blocks that workbook's exits: its Export, Push and player builds.
After every import, the workbooks that reference it are rechecked. A workbook with broken references gets a block, and those three are refused. The reason names the workbook whose import broke the references. The refusal holds until the workbook is fixed and imported again.
Nothing is re-imported on your behalf. A workbook that could not be checked keeps whatever block it already had.
Editor-only paths
A joint import and the recheck are editor paths. Both belong to the editor's import cycle and cross domain reloads.
The web app checks references against the sources it has loaded. It blocks the Export of whichever source holds the broken reference. It never generates code, so it never runs a joint import.
Enums another workbook uses
Deleting an enum another workbook uses stops both workbooks. This holds as long as the referencing sheet still uses the name.
| Workbook | Result |
|---|---|
| The referencing workbook | Reports UnknownEnumName |
| The workbook that defines the enum | Held with HeldByCoupledWorkbook |
Nothing is generated for either until the sheets agree.
A rename or a move finishes in one joint cycle when the referencing sheets already use the new name. That is what the Data Studio's rename propagation writes.
Two workbooks that generate into different folders and use each other's enums are refused with EnumAssemblyCycleAcrossWorkbooks. Point their generated code folders at the same folder.
Enums on a fresh clone
A fresh clone carries enums it cannot attribute. Committed generated code may use enums whose owning workbook the machine has never imported.
Those enums are carried over as compiled, since deleting them cannot be decided. A workbook whose import changes such an enum is held until one Pull every workbook has recorded every owner.
Custom source write-back
A custom source's write-back has no completion signal. A plugin ISourceReflectTarget reports no end.
In a reflect that spans workbooks, the next slice starts when the previous call returns. Staging left behind is what shows that a write did not finish.
Mixed delivery modes
Workbooks may use different delivery modes. Each workbook's generated registration claims its own tabs, and a load is routed by tab name. An Addressables workbook and a Resources workbook coexist in one project and in one Pull every workbook run.
A workbook that cannot run in its mode, such as an Addressables workbook while the package is missing, counts as one failure in the batch summary. The rest still run.
One runtime warning is left: a tab claimed by two workbooks for two modes. The first claim stays. That is the same tab-name clash the import already refuses.
Next steps
- Push to Google Sheets
What a push sends, skips and deletes.
- Import sources
Set up local files, xlsx and Google Sheets.
- Several workbooks
The active set, references across workbooks and joint imports.
- Structure and staging limits
Limits of structure edits and staged changes.