57.3. 在 Dashbuilder Runtime 上部署 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"
<property name="dashbuilder.runtime.location" value=" http://localhost:8080"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 您已将
dashbuilder.export.dir
系统属性设置为共享目录,其中的 Dashbuilder Runtime 读取其模型,如下例所示:<property name="dashbuilder.export.dir" value="/tmp/dashbuilder/models/"
<property name="dashbuilder.export.dir" value="/tmp/dashbuilder/models/"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
流程
-
在 Business Central 中,转至 Menu
Design Pages。 - 在 Components 面板中,根据需要拖放并编辑所需的组件类型到 canvas,点 Save to finish。
- 选择屏幕右上角的 Admin 图标,再选择 Dashbuilder Data Transfer。
- 在 Dashbuilder Data Transfer 页面上,单击 Custom export。
- 在 Export Wizard 面板中选择要在 ZIP 文件中包含的页面,然后点 Next。
选择 Export Wizard 并点 Open。
您可以看到 Dashbuilder Runtime 主页。如果您没有登录,您会被重定向到登录页面。
进入 Dashboards
Runtime Dashboards,您可以看到 页面。 所选数据导出,Dashbuilder Runtime 会在打开时更新模型内容。