29.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。
- 选中 Based on template 复选框。
- 如果需要,从下拉列表中选择 archetype from-down 选项。选择了已在空间中设置的默认 archetype。
- 点击 Add。
项目的 Assets 视图会根据所选的 archetype 模板打开。