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

Versions Compared

Key

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

...

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

let reportToFind  reportToFind = 'af67e527-81d3-47fc-81ce-dfc506a61dd2';
let dashboardReports  dashboardReports = dashboard.getAllReports();
let dashboardReport dashboardReport= dashboardReports.find(reportInfo => {
          return reportInfo 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

ページトップ