...
この関数を使用することで、ダッシュボード上にある特定のレポートのすべてのインスタンスを検索できます。
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. }); } |
---|
...