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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
lmeyerov
New Member

Custom Visual Developer console not logging

In Firefox (Chrome does not work due to stricter unsigned TLS rules in OS X, despite setting keychain...), the developer console does not show calls to console.log/console.info, any ideas?

 

We're trying:

- update() calls console.info() + alert() as their first thing

- the test: use the Format panel UI to manually change some values, expect to see update()/enumerate called for our custom objects

- logExceptions decorator (calls console.error for update() exns): https://community.powerbi.com/t5/Developer/How-to-Debug-while-developing-Custom-Visuals/m-p/187053#M...

 

Overall setup: https://community.powerbi.com/t5/Developer/Custom-Visuals-format-panel-input-values-reset-1-second-a...

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Sorry, I have little experience in this custom visual. @dm-p  is very outstanding. Could you please help to solve this problem?

lmeyerov
New Member

The plot thickens:

 

 

--  `Visual::constructor()` and `Visual::enumerateObjectInstances()` will print via console.info()

-- ... but `Visual::update()` will not print console.info() after changing a custom value in the Format panel

 

Also, we rolled back the API version  to 3.8.3 to match the bar chart demo repo

 

So, the question comes: Why is update() not getting called / not calling console when Format pane custom text input values get manually changed by the Report editor user?

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.