Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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); } })
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |