Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
bfialkoff
Helper I
Helper I

Custom visual hosting

I recently discovered that the the code that builds my custom visual on the powerbi cloud service isn't hosted locally. In retrospect this makes sense, but I'm confused as to what is actually happening since upon running 'pbiviz start' I get the message "Server listening on port 8080" I took this to mean that I was hosting the visual. So what is actually happening here behind the scenes?

 

The reason this came up is because I am trying to arrange for an HTTP request to be made from the visuals code, and it was querying localhost, but since the report is being hosted by powerbi it wouldn't work since powerbi can't query my local host. This seems to make development rather complicated....

 

Any insights? Answers? Ideas? 

 

1 REPLY 1
v-viig
Community Champion
Community Champion

PBIVIZ start hosts Dev Server on local machine to allow PBI to load JS and CSS for testing and development.

 

To allow queries you should start another HTTP server with valid HTTPS certificate and CORS settings.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.