Add to a Carbon workspace(添加到 Carbon 工作空间)¶
Quiver dashboards can be added to a Carbon workspace as a module. There are three types of modules in Carbon: anchored modules, new tab modules, and discoverable modules.
Add a dashboard as a module¶
To add a module, select the Edit button in the top right of your Carbon workspace, then choose your current workspace.

Discoverable modules can be added from the general tab, while anchored and new tab modules can be added from the menu tab.

Once you’ve decided which type of module you want to add, select Add item. This will open a dialog. For Type, choose Quiver dashboard and then use the Open Compass dialog button to find the dashboard you want to add.

Discoverable modules will be accessible to users from the Open in menu in Object Explorer.

Add input parameters¶
You will be presented with configuration options. You can choose to add parameters to pass as input to your Quiver dashboard. To map a parameter to the dashboard input, you need to change the parameter name to map the dashboard input name.

If a parameter value is not set, it will default to an empty value (or the base object type for object sets).
Carbon only supports three types of parameters to be passed: String, Object or Object type. This means that if you have inputs to your Quiver dashboard that are of type Boolean, number, or time, they will need to be passed in as strings from Carbon. See the mapping table below for type mapping information.
| Quiver input type | Carbon input type |
|---|---|
| Boolean | String: true or false |
| Number | String |
| String | String |
| Time | String, in ISO format |
| Time Range | Not supported |
| Time Series | Not supported |
| Object | Object |
| Object Set | Object Type |
| String List | String: ["option_1","option_2"] |
Set version¶
By default, the dashboard will autoupdate to the latest version available. You can set the version by adding a DASHBOARD_VERSION parameter and setting its value to the version number.
中文翻译¶
添加到 Carbon 工作空间¶
Quiver 仪表盘可以作为模块添加到 Carbon 工作空间中。Carbon 中有三种类型的模块:锚定模块(anchored modules)、新标签页模块(new tab modules)和可发现模块(discoverable modules)。
将仪表盘添加为模块¶
要添加模块,请点击 Carbon 工作空间右上角的 编辑 按钮,然后选择当前工作空间。

可发现模块可以从"常规"标签页添加,而锚定模块和新标签页模块则可以从"菜单"标签页添加。

确定要添加的模块类型后,选择 添加项目。这将打开一个对话框。在 类型 中选择 Quiver 仪表盘,然后使用 打开 Compass 对话框 按钮查找要添加的仪表盘。

用户可以通过对象资源管理器(Object Explorer)中的 在...中打开 菜单访问可发现模块。

添加输入参数¶
系统将显示配置选项。您可以选择添加参数,作为 Quiver 仪表盘的输入。要将参数映射到仪表盘输入,需要更改参数名称以匹配仪表盘输入名称。

如果未设置参数值,则默认为空值(对于对象集,默认为基础对象类型)。
Carbon 仅支持传递三种类型的参数:字符串(String)、对象(Object) 或 对象类型(Object type)。这意味着,如果 Quiver 仪表盘的输入类型为布尔值、数字或时间,则需要从 Carbon 以字符串形式传递。请参阅下面的映射表了解类型映射信息。
| Quiver 输入类型 | Carbon 输入类型 |
|---|---|
| 布尔值(Boolean) | 字符串:true 或 false |
| 数字(Number) | 字符串 |
| 字符串(String) | 字符串 |
| 时间(Time) | 字符串,ISO 格式 |
| 时间范围(Time Range) | 不支持 |
| 时间序列(Time Series) | 不支持 |
| 对象(Object) | 对象 |
| 对象集(Object Set) | 对象类型 |
| 字符串列表(String List) | 字符串:["option_1","option_2"] |
设置版本¶
默认情况下,仪表盘会自动更新到最新版本。您可以通过添加 DASHBOARD_VERSION 参数并将其值设置为版本号来指定版本。