Forum Discussion
PowerBi Embedded Open WebUrl in same Tab
- 7 years ago
Short answer: no, it's not possible.
Full version: Power BI embeds links with the target="_blank", which means that all links will be opened in a new tab. When you embed your report, you see it in an iFrame and first solution you think about is to overwrite all "target" parameters in "<a>" tags in that iFrame using javascript. But since the iFrame sits in a sandbox, the browser will not allow you to do so because of the CORS policy (the domain of your app where you embed the report is not the same as "app.powerbi.com").
Hope I have described the situation clearly enough.
Kind regards
Short answer: no, it's not possible.
Full version: Power BI embeds links with the target="_blank", which means that all links will be opened in a new tab. When you embed your report, you see it in an iFrame and first solution you think about is to overwrite all "target" parameters in "<a>" tags in that iFrame using javascript. But since the iFrame sits in a sandbox, the browser will not allow you to do so because of the CORS policy (the domain of your app where you embed the report is not the same as "app.powerbi.com").
Hope I have described the situation clearly enough.
Kind regards
Thank, i did think this might be the case, but wondered if there had been any updates on this since the last posting.
Thank you for the response.