Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

displayDialogAsync for ExportData doesn't throw any error when the Viz is a Dashboard #30

Open
florent-guinard opened this issue Jun 20, 2022 · 0 comments
Labels
enhancement New feature or request error handling

Comments

@florent-guinard
Copy link

florent-guinard commented Jun 20, 2022

When the current embedded Viz is a Dashboard and no Worksheet is selected the Download > Data button in the tooltip is greyed out:
image

Calling the displayDialogAsync(TableauDialogType.ExportData) function on this Viz doesn't display any dialog (since the Data button is greyed out) but doesn't throw any error either: would it be possible to throw an exception in this case so that we can warn our users that are expecting a dialog to be opened?

@illonage illonage added enhancement New feature or request error handling labels Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request error handling
Projects
None yet
Development

No branches or pull requests

2 participants