24.5. 使用 Business Central 中的空间设置来管理 archetypes
将 archetypes 添加到 Business Central 时,您可以在所有空格中使用它们作为模板。您可以从 Settings 选项卡中管理所有 archetypes,该选项卡可在空间中可用。此选项卡仅对具有 admin
角色的用户可见。
先决条件
- 您已在 Maven 存储库中安装了 archetype。
- 您已创建了 archetype,并在 Maven 存储库中的 Business Central Settings 中列出它。
流程
-
在 Business Central 中,转至 Menu
Design Projects。 - 选择或创建您要管理 archetypes 的空格。默认空间为 MySpace。
- 单击 Settings。
- 要在空间中包含或排除 archetypes,请选择 Include 复选框。
- 在 Actions 列中,点 archetype 右侧的 图标,然后从下拉菜单中选择 Set 作为默认值,将 archetype 设置为空间的默认值。
- 点击 Save。