Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I've created Integration application with Power BI Embedded Javascript with ASP.Net
I've also achieved Create New Report option using Power BI Javascript.
It's gives me option to save as and it also work fine. But I need to get in return of save as report of it's newly generated Report Id.
How I can get newly created report's report id in javascript when I fire Save as command.
Please let me know
Solved! Go to Solution.
@Shakeel wrote:
I've created Integration application with Power BI Embedded Javascript with ASP.Net
I've also achieved Create New Report option using Power BI Javascript.
It's gives me option to save as and it also work fine. But I need to get in return of save as report of it's newly generated Report Id.
How I can get newly created report's report id in javascript when I fire Save as command.
Please let me know
You can get the SavedAs report's ID from the event listener. The reportObjectId is the reportid.
report.on("saved", function(event) { if(event.detail.saveAs){ console.log(event.detail.reportObjectId); } })
@Shakeel wrote:
I've created Integration application with Power BI Embedded Javascript with ASP.Net
I've also achieved Create New Report option using Power BI Javascript.
It's gives me option to save as and it also work fine. But I need to get in return of save as report of it's newly generated Report Id.
How I can get newly created report's report id in javascript when I fire Save as command.
Please let me know
You can get the SavedAs report's ID from the event listener. The reportObjectId is the reportid.
report.on("saved", function(event) { if(event.detail.saveAs){ console.log(event.detail.reportObjectId); } })