The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am getting belwo error
Blocked a frame with origin "http://localhost:6790" from accessing a frame with origin "https://embedded.powerbi.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
My code:
Snippet
var iframe = document.createElement("iframe"); iframe.style.display = "none"; iframe.src = data.Report.EmbedUrl.replace('https:',''); iframe.onload = (function () { iframe.style.display = "block"; var m = { action: "loadReport", accessToken: data.AccessToken }; message = JSON.stringify(m); iframe.contentWindow.document.postMessage(message, "*"); alert("loaded"); }); document.getElementById("reportframe").appendChild(iframe);
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |