58.3. 在 Dashbuilder 运行时从 Business Central 部署仪表板
您可以从 Dashbuilder Runtime 上的 Business Central 自动部署仪表板。Business Central 使用逐步导出功能与 Dashbuilder 运行时相关联。
先决条件
- 在您的系统上配置了 Dashbuilder 运行时。
-
您已在
standalone.xml
文件中将dashbuilder.runtime.multi
系统属性设置为true
。 您已将
dashbuilder.runtime.location
系统属性的值设置为 Dashbuilder Runtime URL,如下例所示:<property name="dashbuilder.runtime.location" value=" http://localhost:8080"
您已将
dashbuilder.export.dir
系统属性设置为共享目录,其中 Dashbuilder Runtime 读取其模型,如下例所示:<property name="dashbuilder.export.dir" value="/tmp/dashbuilder/models/"
流程
-
在 Business Central 中,进入 Menu
Design Pages。 - 在 Components 面板中,根据需要将所需的组件类型拖放到 canvas,然后点 Save 来完成。
- 选择屏幕右上角的 Admin 图标,然后选择 Dashbuilder Data Transfer。
- 在 Dashbuilder Data Transfer 页面上,单击 Custom export。
- 选择您要包含在 Export Wizard 面板中的 ZIP 文件中的页面,然后点 Next。
选择 Export Wizard 并点 Open。
您可以看到 Dashbuilder Runtime 主页。如果没有登录,您会被重定向到登录页面。
进入 Dashboards
Runtime Dashboards,您可以看到页面。 所选数据会被导出,Dashbuilder Runtime 在打开时更新模型内容。