30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

サブタブはダッシュボードの小要素であり、ダッシュボード上のコンテンツのコンテナーとして使用されます。サブタブオブジェクトには、サブタブの名前とuuid、そのサブタブに配置されているレポートの情報が含まれています。

...


プロパティのリファレンス

name(名前)

リターン

String

説明

Yellowfin UIに表示されるサブタブの表示名を返します。


uuid

リターン

String

説明

サブタブのUUIDを返します。

...



関数のリファレンス

isCanvas()

リターン

Boolean

説明

サブタブがキャンバスタブの場合trueを返します。


getReports()

リターン

配列Array[オブジェクトObject]

説明

サブタブに存在するすべてのレポートのレポートUUIDおよびエンティティUUIDを返します。

サブタブにレポートが無い場合は、空の配列が返されます。

この関数を使用することで、ダッシュボード上にある特定のレポートのすべてのインスタンスを検索できます。

let reportToFind = 'af67e527-81d3-47fc-81ce-dfc506a61dd2';
let dashboardReports = dashboard.getAllReports();
let dashboardReport= dashboardReports.find(reportInfo => {
          return reportInfo.reportUUID ===  reportToFind;
});

if(dashboardReport) {
         //We found that report now we can load the report object. If the report has already been loaded by the dashboard this will just give us that version of the report
         dashboard.loadReport({
                  reportId: reportInfo.reportUUID,
                  entityUUID: reportInfo.entityUUID
         }).then(report => {
                  //Now we've fetched the report.
         });
}

...



イベントのリファンレンス

サブタブがトリガーになるイベントはありません。


horizontalrule

Styleclass
ClasstopLink

ページトップ