Forum Discussion

MichaelBakker's avatar
MichaelBakker
Regular Visitor
4 years ago

Custom Visual with Report page tooltip - Determine if user has enabled this option

I have created report page tooltip functionality in a custom visual, which works fine.

I want to avoid executing unnecessary code when initializing the visual and need to know whether the user has disabled the functionality in the UI.

However, i can't seem to get a handle on whether the user has enabled or disabled it.

I tried this.host.tooltipService.enabled(), but this is always true.

In the metadata -> objects there is nothing available, only the settings objects i created myself in capabilities.json etc.

Is there another way to know whetehr a user has disabled Report page tooltips?

2 Replies