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 have an issue with a full-screen in Power BI iframe, some of the iframes are opening in the same tabs and others in new tabs, could you please advise me how to make all iframes open in the same tab instead of new tab.
please check the following URL for more clarification: https://yemen.immap-mena.info/yemen-dashboards/
Solved! Go to Solution.
@kal-tahrawi wrote:
I have an issue with a full-screen in Power BI iframe, some of the iframes are opening in the same tabs and others in new tabs, could you please advise me how to make all iframes open in the same tab instead of new tab.
please check the following URL for more clarification: https://yemen.immap-mena.info/yemen-dashboards/
Based on my test and research, it is the attribute allowfullscreen="true" in the iframe table that affects this behavior. The embeded report would show full screen mode in the same tab when this attribute is true. See allowfullscreen
You could copy below demo to a html file, add/remove the allowfullscreen, open the html in a browser to test by yourself.
<html> <div class="field field-name-body field-type-text-with-summary field-label-hidden"> <div class="field-items"> <div class="field-item even" property="content:encoded"><iframe src="https://app.powerbi.com/view?r=eyJrIjoiMzc5ZTdmZDMtYTYyYy00N2Q2LWI0MDktN2FlM2VmMDcwYzU3IiwidCI6ImY2ZjcwZjFiLTJhMmQtNGYzMC04NTJhLTY0YjhjZTBjMTlkNyIsImMiOjF9" frameborder="0" allowfullscreen="true" width="100%" height="600"></iframe></div> </div> </div> </div> </html>
@kal-tahrawi wrote:
I have an issue with a full-screen in Power BI iframe, some of the iframes are opening in the same tabs and others in new tabs, could you please advise me how to make all iframes open in the same tab instead of new tab.
please check the following URL for more clarification: https://yemen.immap-mena.info/yemen-dashboards/
Based on my test and research, it is the attribute allowfullscreen="true" in the iframe table that affects this behavior. The embeded report would show full screen mode in the same tab when this attribute is true. See allowfullscreen
You could copy below demo to a html file, add/remove the allowfullscreen, open the html in a browser to test by yourself.
<html> <div class="field field-name-body field-type-text-with-summary field-label-hidden"> <div class="field-items"> <div class="field-item even" property="content:encoded"><iframe src="https://app.powerbi.com/view?r=eyJrIjoiMzc5ZTdmZDMtYTYyYy00N2Q2LWI0MDktN2FlM2VmMDcwYzU3IiwidCI6ImY2ZjcwZjFiLTJhMmQtNGYzMC04NTJhLTY0YjhjZTBjMTlkNyIsImMiOjF9" frameborder="0" allowfullscreen="true" width="100%" height="600"></iframe></div> </div> </div> </div> </html>
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 |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |