Comments (4)
Hi there, and thanks for your question. <iframe>
elements don't always work, but this is a limitation of custom visuals in Power BI. I have created #22 to explain this in a bit more detail and hopefully this clarifies things for you.
The short answer is: Desktop explicitly blocks <iframe>
elements in any custom visual, so you need to test in the Service. It might work in the Service, depending on what the remote site allows.
Your case is one of the fortunate ones - when I publish to the Power BI Service, it will display:
This is not a guarantee that it will always work - govmap.il may choose to revoke the permission for origin
-less <iframe>
elements at any time (which is how custom visuals are rendered in Power BI).
from powerbi-visuals-html-content.
from powerbi-visuals-html-content.
Apologies for the delay - I'm currently on vacation and am not regularly looking at my personal projects. Unfortunately I don't know enough about your data model or use case to answer fully and would need more detail. One thing I would suggest is that <iframe/>
tags should be self-closing, that is, don't write them like:
<iframe id = 'ifrMap' ...> </iframe>
but rather:
<iframe id = 'ifrMap' ... />
e.g. for the test I did in my above comment, the column expression was as follows:
<iframe id='ifrMap' frameborder= '0' scrolling= 'no' marginheight= '0' marginwidth= '0' width='350px' height='350px'src= 'https://www.govmap.gov.il/map.html?bb=1&zb=1&in=1&c=204000,595000&z=0' />
Regarding filtering, if your data going into the <iframe/>
URI should filter the map (depending on however govmap implement their embed) then it likely will. However as I don't support govmap, or have any knowledge of this service or your data model, then that would be something you'd need to check with them. If you wish for me to investigate then my services can be engaged professionally, but it's a little outside the scope of supporting this particular visual.
To round out the subject of filtering, this visual cannot filter other visuals, much like the built-in R or Python visuals can't either.
from powerbi-visuals-html-content.
from powerbi-visuals-html-content.
Related Issues (20)
- [ENHANCEMENT]
- Export to PPT/PDF is not supported. Please enhance the visual to support export functionality HOT 1
- [BUG] Unable to load the visual in Power bi desktop, getting error "The content is blocked. Contact the site owner to fix the issue."
- [Accessibility] Allow scrolling with arrow key for keyboard users, support keyboard focus HOT 8
- I want to customize this visual for a specific use case. HOT 1
- [BUG] iframce with source URL containing & not working HOT 1
- FAQ Update
- Iframe reload on click HOT 2
- [ENHANCEMENT] HOT 2
- [EMBED] Website no opening on Power BI HOT 1
- [BUG] Can't delete the visual from the repot canvas HOT 1
- [BUG] Text limit for HTML Text HOT 4
- [BUG] class attribute does not pass sanitization in certified visual
- Support for pyodide [ENHANCEMENT] HOT 1
- Functionality <form> with Method Post HOT 2
- 'Export to PDF' currently not supported HOT 2
- iframe external webpages not loading from Aug 29, 2023 in Power BI. HOT 8
- [BUG] Unable to use Segoe (Bold) or DIN HOT 10
- [BUG] Visual not redering on reload HOT 3
- [BUG] The link is malformed: #Top HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerbi-visuals-html-content.