ダッシュボードの変数
ダッシュボードの変数を使用すると、新しいウィジェットを作成することなく、ウィジェットが表示しているデータをすばやく変更することができます。異なるエンティティの同じメトリックを示す一連のウィジェットを作成し、アプリケーション名にリンクされた変数を切り替えるだけで、複数のアプリケーションからの情報を表示できます。また、ウィジェットのグループをコピーし、各グループの変数セットを切り替えることによって、ダッシュボードを作成することもできます。
Dash Studio では、ダッシュボードレベルまたはグループレベルで変数を簡単に切り替えることができます。ダッシュボードのさまざまなレベル(高レベルのダッシュボード用、またはグループレベルのグループ用)で変数を定義および設定できます。グループに対して設定する変数を定義できます。
変数の定義
ダッシュボードおよびアセンブリ全体で変数を定義できます。Dash Studio は、次の変数タイプをサポートしています。
- アプリケーション
- ブラウザアプリケーション
- モバイルアプリケーション
- ビジネストランザクション
- ティア
- ノード
- サーバー
- データベース
- 分析テーブル
変数の設定
変数で使用される値をアセンブリ全体またはコンテナ内で変更するように変数を設定できます。これは、コンテナレベルとアセンブリレベルで実行できます。
変数の継承
グループ変数の継承
グループレベルの場合、変数継承は親から子に行われます。たとえば、グループは変数が存在するダッシュボードから変数定義を継承しますが、ダッシュボードはグループから変数定義を継承しません。これは、変数をグループレベルで定義できないためです。
アセンブリ変数の継承
アセンブリの場合、兄弟アセンブリは兄弟から変数定義を継承します。たとえば、アセンブリは、作成元のアセンブリから変数定義を継承します。
ネストされた変数
ある変数を別の変数内にネストすることができます。たとえば、アプリケーション変数内に階層変数を作成し、これらの変数を使用してデータをバインドできます。
Widget Variables
You can create variables for the widget title and subtitle for all the widgets. For example, if you want to create variables for applications and analytics data, perform the following steps:
- Select any widget and under , turn on Subtitle.
- Create two variables of the following types:
- Variable 1: Applications
- Variable 2: Analytics Table
- Select Show in View Mode.
- Change the title with
${Variable 1}and subtitle with${Variable 2}. - Click View to display the widget in view mode.This groups all the application under Variable 1 and Analytics data under Variable 2. You can then change the variable values to filter the results.
Dash Studio supports using variables for the following widgets:
Label Widget
While creating or updating a Label widget, you can use a variable in the label text. Create a variable and add ${Variable-name} to the label text.
Image Widget
While creating or updating an Image widget, you can use a variable instead of a static URL. Use a variable by specifying the following under Data:
- Image: Select By URL.
- URL: Specify the image URL and add the variable name. For example,
https://example-imageUrl/${Variable-name}
Iframe Widget
While creating or updating an Iframe widget, you can use a variable instead of a static URL. Use a variable by specifying the URL with the variable under Data. For example, https://example-domain/${Variable-name}