Igor-Kramer
8 years agoRegular Visitor
Status:
Needs Info
Embed reports via iframe Chrome/Safari issue with visual menu
We have an web application with embed (via iframe) PowerBI reports. Last week we took an issue with "..." menu on all visuals: 1. Chrome - menu does not appear at all. 2. Safari - menu appears for ...
Igor-Kramer
8 years agoRegular Visitor
v-jiascu-msft you tested an example with JS API, it works fine in our app.
You can use something like this:
function LoadReport(url, item) {
$(".sidebar-nav > li").each(function (index, value) { $(value).removeClass("active") });
$(item).parent().addClass("active");
var iframe = document.getElementById('iFrameEmbedReport');
iframe.src=url;
iframe.onload = postActionLoadReport;
}