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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.