Showing results for 
Search instead for 
Did you mean: 
thinkvisual Frequent Visitor
Frequent Visitor

Embedding iFrames - blockquote's .JS file appears to be getting blocked when published


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="" 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=";ref_src=twsrc%5Etfw">#data</a> with these best practices for <a href=";ref_src=twsrc%5Etfw">#dataviz</a>. Learn more: <a href=""></a> <a href=""></a></p>&mdash; Power BI (@MSPowerBI) <a href="">28 May 2019</a></blockquote>
<script async src="" charset="utf-8"></script>


*my reference here

"....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"





Helpful resources

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 125 members 1,428 guests
Please welcome our newest community members: