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.
Hi experts
I am embedding HTML using this (appreciate it is a thirdparty plugin from marketplace but i believe this is about how PBI handles Javascript) I am referenceing social media posts and have found that when I reference an iframe and publish to PBI web it works perfectly.
<iframe src="https://www.instagram.com/p/Bnq7OsjnOWa/embed" width="400" height="600" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
However, when I use the blockquote approach as required by some other social channels (as below) and publish to PBI web - it looks like the .JS file is getting blocked. Is there a way I can get around this? I have read that PBI has a Javascript API* - could this be a way to make it work?
<blockquote class="twitter-tweet" data-lang="en-gb"><p lang="en" dir="ltr">Create a more functional and colorful picture of your <a href="https://twitter.com/hashtag/data?src=hash&ref_src=twsrc%5Etfw">#data</a> with these best practices for <a href="https://twitter.com/hashtag/dataviz?src=hash&ref_src=twsrc%5Etfw">#dataviz</a>. Learn more: <a href="https://t.co/hgIskVlLQL">https://t.co/hgIskVlLQL</a> <a href="https://t.co/incSjOTAqj">pic.twitter.com/incSjOTAqj</a></p>— Power BI (@MSPowerBI) <a href="https://twitter.com/MSPowerBI/status/1133432754836783112?ref_src=twsrc%5Etfw">28 May 2019</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
*my reference here
https://powerbi.microsoft.com/en-us/blog/intro-pbi-js-api/
"....The iframe acts as a boundary between your application and the Power BI report. With no way to pass infromation through the iframe..... JavaScript API, which provides bidirectional communication between Power BI reports and your application"
Thanks!
David
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 |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |