Skip to content
SheetForge

Workbooks in the Studio

Use the workbook menu in the Data Studio toolbar to choose which workbooks are active and which one the table shows. This page also shows how to add a workbook from the sidebar.

The workbook menu is the toolbar button that names the open workbook and says how many of the project's workbooks are active. It appears when the project has more than one SheetForgeSettings asset. With a single settings asset, the menu is hidden.

Read the workbook menu

Click the workbook menu to open it. Each row of the menu is one workbook, and a thin line separates the rows. A row holds these things:

  • A check box, filled when the workbook is active and empty when it is not. ↓ Import imports every active workbook. At least one workbook stays active, so the box of the last active one is disabled.
  • The workbook's name. Click it to put that workbook in the table. The open workbook's name is in the accent color, and an inactive workbook's name is dimmed.
  • Tags after the name: open, blocked while a broken reference refuses its Export and Push, and read-only when its tabs are shown here as references only. The number of edits waiting in it and its source kind follow.
  • A hint about the workbook under the row, as in the table below.
Hint on the rowMeaning
→ Items, MonstersThe workbooks this one references
not active — checked against its last importA referenced workbook that is not active. References into it are checked against its last import
not imported yetA workbook with no import behind it

The menu in Unity has no ✕ on its rows. To stop importing a workbook, clear its check box. The web app's menu adds a ✕ at the end of each row, which takes the workbook out of the browser session. The spreadsheet or file itself is not touched, but the workbook's staged edits are discarded.

Unless the workbook map is shown in the canvas or the sidebar instead, Workbook map… at the bottom of the menu draws the whole project. See Workbook map and limits.

⚙ Settings can move this whole list into the sidebar instead, as a standing section per workbook. The menu then leaves the toolbar. See Move the list into the sidebar.

Add a workbook

The sidebar's Add workbook section creates a workbook without leaving the Studio. Press Google spreadsheet… or Local folder or .xlsx…, and one form opens:

  • The workbook's name
  • The source, with the spreadsheet address or ID, or the folder or .xlsx file

Create writes the settings asset at Assets/{name}/{name}.asset and adds the workbook to the active set. When the source already holds sheets, the first import starts on its own. Creating a workbook is a switch like any other: staged edits stay where they are, and the usual notice counts the ones you leave behind. See Switch with staged edits.

Getting Started's New settings asset opens the same form.

Where the choice is stored

The active set and the open workbook are stored per project and per user, so they never touch version control.

Other places to manage workbooks

You can also change the active set in the Getting Started window and in a settings asset's inspector. All three places show the same set. The active set describes each place.

Choose what the table shows

The table shows either the open workbook alone or every active workbook together. That is the Data Studio view choice in ⚙ Settings.

The same dialog can add a small One workbook at a time · All active workbooks together toggle to the top of the sidebar for this choice. Choose a Data Studio view describes both views.

Staged edits across workbooks

Opening another workbook keeps every staged edit. When you reflect, each edit is written to the workbook its tab belongs to.

Read-only tabs

A tab that belongs to a workbook not open here is read-only. A banner above the table names that workbook and carries a button that opens that workbook.

Edits of your own that propagate into such a tab are still staged and written there. These are examples:

  • A key rename
  • A minted localization key
  • A record created from a picker, with + Create a new … record
  • An enum member added from an enum cell's picker

Read-only tabs lists what is refused and what is allowed on such a tab. Reflect into several workbooks describes the reflect that follows.

Next steps