embedding-api-v3-guide icon indicating copy to clipboard operation
embedding-api-v3-guide copied to clipboard

Issue with displayDialogAsync(TableauDialogType.ExportData)

Open Nikita-Kolos opened this issue 2 years ago • 2 comments

When displayDialogAsync(TableauDialogType.ExportData) is called, nothing happens. Please tell me what could be the problem? The rest of the calls work.

Nikita-Kolos avatar Jul 04 '22 09:07 Nikita-Kolos

As I expect this issue is connected with permissions https://help.tableau.com/current/server/en-us/permissions.htm#set-permissions

Do we have an ability to read the permissions in JS?

Nikita-Kolos avatar Jul 04 '22 10:07 Nikita-Kolos

You can sort of retrieve permissions via the REST API, but it requires three API calls (view/workbook/project). I've submitted an idea over here to try and see if the JS API folks as Tableau could put this in somewhere to make embedded apps like yours more fluid during this user experience flow: https://github.com/tableau/embedding-api-v3-guide/issues/3

Mrkbingham avatar Jul 05 '22 20:07 Mrkbingham