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 am trying to create my first custom visual based on this BI tutorial: https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial
I installed all the software as instructed, but then when I try to test out the custom visual (step 6 under "Testing the Custom Visual") it didn't display right. I dug into the problem and it looks like the url that it needs to connect to (https://localhost:8090/webpack-dev-server/) returns a 404 error. I checked with the IT department at my work and they said it is because opening port 8090 creates a security risk. Is there any workaround for this?
Solved! Go to Solution.
Hi @cogsie,
The 'happy path' for developing a custom visual is that your local development environment needs to connect to the Power BI Service through a local port on your machine, and via a certificate, as this is where the developer visual is hosted. I wrote a short post about it (or at least everything I know so far) and this may help further your understanding.
Your IT team aren't incorrect in that opening a port that they typically don't support does potentially increase the attack surface. The local server that the SDK runs requires a secure connection between your machine and Power BI to actually do anything, but if you are keen to proceed then you may need to get them to assess the situation for any potential vulnerabilities (assuming that they are prepared to).
If this is not something that can be accomodated, the only real alternative using your current office 365 account would be to either:
You could also try cross-posting this question in to the Custom Visuals Development Discussion forum, as the development team monitor that one and may be able to advise further.
Good luck!
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @cogsie,
The 'happy path' for developing a custom visual is that your local development environment needs to connect to the Power BI Service through a local port on your machine, and via a certificate, as this is where the developer visual is hosted. I wrote a short post about it (or at least everything I know so far) and this may help further your understanding.
Your IT team aren't incorrect in that opening a port that they typically don't support does potentially increase the attack surface. The local server that the SDK runs requires a secure connection between your machine and Power BI to actually do anything, but if you are keen to proceed then you may need to get them to assess the situation for any potential vulnerabilities (assuming that they are prepared to).
If this is not something that can be accomodated, the only real alternative using your current office 365 account would be to either:
You could also try cross-posting this question in to the Custom Visuals Development Discussion forum, as the development team monitor that one and may be able to advise further.
Good luck!
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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 |