Object View versioning(Object View 版本管理)¶
Saved edits to an Object View will be stored as a new version. A version can contain several changes, such as adding, editing, and deleting tabs. Versioning enables you to:
- Iterate on Object Views safely by saving your changes incrementally
- Control which version is published and visible to users
- Republish older versions in case newer versions contain errors
- Collaborate with other editors by adding descriptions to versions
There are separate versions for each Workshop module included in the Object View. Both version numbers appear in the Object View editor header.
Save new versions¶
After editing the Object View, you can save changes by selecting the Save button in the Object View editor header. If Automatically publish new versions is enabled, this button will display Save and publish instead, and will publish both tab changes and any changes to the current Workshop module. Automatic publishing is enabled by default.
Disabling Automatically publish new versions will display two separate buttons for saving and publishing. The Save button will save both tab and workshop module changes, and the Publish button will publish both of these changes to the user.

As you edit the Workshop module, it will be periodically auto-saved like any other Workshop module, but these changes will not be visible to users until the Object View is published.
:::callout{theme="neutral"} If your Object View is actively used by many users or there are multiple editors collaborating on the view, we recommend disabling automatic publishing. This improves collaboration and lowers the chances of breaking user workflows. :::
Access prior versions¶
To view a list of prior versions of the Object View, select the blue Object View version number in the Object View editor header. This will open a dialog displaying the date, author, and description of all prior versions. From this dialog, all versions can be previewed.
- The currently published version will be marked with a green checkmark.
- Prior published versions will show a grey checkmark.
- Versions that were never published will not have a checkmark.

中文翻译¶
Object View 版本管理¶
对 Object View 的已保存编辑将存储为新版本。一个版本可包含多项更改,例如添加、编辑和删除标签页。版本管理功能使您能够:
- 通过增量保存更改,安全地迭代 Object View
- 控制哪个版本发布并对用户可见
- 在新版本包含错误时重新发布旧版本
- 通过为版本添加描述与其他编辑者协作
Object View 中包含的每个 Workshop 模块均有独立的版本管理。两个版本号均显示在 Object View 编辑器头部中。
保存新版本¶
编辑 Object View 后,您可以通过选择 Object View 编辑器头部的 Save 按钮保存更改。如果启用了 Automatically publish new versions(自动发布新版本),该按钮将显示为 Save and publish(保存并发布),并同时发布标签页更改和当前 Workshop 模块的任何更改。自动发布功能默认启用。
禁用 Automatically publish new versions 后,将显示两个独立的保存和发布按钮。Save 按钮将同时保存标签页和 Workshop 模块的更改,而 Publish 按钮将把这些更改发布给用户。

在编辑 Workshop 模块时,它会像其他 Workshop 模块一样定期自动保存,但这些更改在 Object View 发布之前对用户不可见。
:::callout{theme="neutral"} 如果您的 Object View 被大量用户频繁使用,或有多个编辑者协作编辑该视图,建议禁用自动发布。这有助于改善协作,并降低破坏用户工作流程的风险。 :::
访问先前版本¶
要查看 Object View 的先前版本列表,请选择 Object View 编辑器头部中的蓝色 Object View 版本号。这将打开一个对话框,显示所有先前版本的日期、作者和描述。在此对话框中,可以预览所有版本。
- 当前发布的版本将标有绿色对勾。
- 先前发布的版本将显示灰色对勾。
- 从未发布的版本将没有对勾标记。
