24.4. 使用 archetypes 创建项目
您可以使用 archetypes 在 Business Central 中创建项目。当您在 Business Central 中创建项目时,它会被添加到连接到红帽决策管理器安装的 Git 存储库中。
先决条件
- 您已创建了 archetype,并在 Maven 存储库中的 Business Central Settings 中列出它。
- 您已在 Business Central 中将 archetype 设置为默认值。
流程
-
在 Business Central 中,转至 Menu
Design Projects。 - 从 archetype 模板选择或创建要向其添加新项目的空间。
- 单击 Add Project。
- 在 Name 和 Description 字段中分别键入项目名称和描述。
- 点 Configure Advanced Options。
- 选择 基于模板 复选框。
如果需要,从下拉列表中选择 archetype。
默认 archetype 已在空间中设置。
- 点击 Add。
项目的 资产 视图基于所选 archetype 模板打开。