We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I have an app that embedds a Power BI report with Angular. I have run into a problem with retrieving the CorrelationId of paginated reports.
The same code works and retrieves a regular report's embedded correlation ID, however when it comes to paginated it never recieves a value.
Is this a known issue with the getCorrelationId() function that returns the embedded correlation ID?
getCorrelationId(): Promise<string>
let correlationId = await report.getCorrelationId();
It is strange, if I put a breakpoint at the line to check if the correlationId is recieved, the id is then grabbed, but then the paginated report never renders/loads. It is stuck with the Power BI message "loading" on the screen.
Hi @SeSPowerBi ,
Please check whether it hit the following limitation in the this official documentation:
getCorrelationId function only works after the report is loaded.Best Regards
Hello @Anonymous ,
thank you for your response.
It does not look like the limiation was hit.
I think it has to do with the loading of the paginated report and the time it takes???
Hi @SeSPowerBi ,
Sorry for delay. Please use the following script to retrieve the error log and check whether we can find the cause and get the solution...
dashboard.on("error", function (error) {
let correlationId = await dashboard.getcorrelationId();
console.log("Error occurred in embed session: " + correlationId + " Error: " + error.detail.message);
});
Best Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |