As a page builder, you can change which workspace and model the data for a page is sourced from. This enables you to change the data that displays on a page while the page structure remains the same. For example, you can change the source of a page from a development environment to a production one.
To change the source model, you must be a page builder with access to the page. Ensure you also have access to the model you want to use as the new source model.
To change the source model for a page, navigate to Page settings from app contents. From a board or worksheet, you can select Page settings from Page options in the toolbar while in designer mode.
You can also change the source model for multiple pages in an app at once via the Manage models dialog.
Switch between sources when Enable multiple source models is enabled
A page points to a single model at any given time. If you have a Professional or Enterprise subscription, workspace administrators can enable multiple models for a page and associate additional models with that page.
When a page has more than one model associated, you can use the Switch source models dropdown to switch between associated source models. Workspace administrators can edit the association with a model in the Source model tab in Page Settings.
When Enable multiple source models is enabled for a page, page builders can still view the Source model tab. However, only workspace administrators can add, remove, and edit a model's association with a page, or disable multiple models.
Forms and source model management
When you change the source model for a board or worksheet page, any forms on the page use the selected model as their data source. If the data structure of the source model is different to the previous model, you need to edit the form to match the new data structure.
Change the source model for a page
To open the Page settings dialog:
- When you have a board or worksheet open, select Page options > Page Settings.
- From app contents, select the Options for this page > Page settings.
To change the source model for a single page:
- In the Page settings dialog, select the Source model tab.
- Select a workspace from the Workspace dropdown.
- Select a model from the Model dropdown.
- Select Apply.
The source model changes and a confirmation notification displays in the top-right of the screen.
The Page settings dialog remains open after you apply the change so you can adjust other settings as needed. To close the dialog, select Close.