tableau/extensions-api

Using Sets on filter causes getMarksAsync error

Closed this issue · 4 comments

Using Sets on filters causes getMarksAsync error

Version information:

  • Tableau version: Tableau Desktop 2021.1.2
  • OS: Windows10
  • Extension API version: 1.5.0 and 1.8.1

Steps to reproduce:

  1. Create a worksheet with one Set

  2. Select the option "Show members in Set"
    image

  3. Create a Dashboard using this Worksheet
    image

  4. Register an Event Listener for MarkSelectionChanged
    image

  5. Select any mark
    image

  6. You should see the following error on Log
    image

@BrunoMNDantas - We were not able to duplicate this with extensions v1.8 and Tableau 2021.1.12. Would it be possible to share your workbook with us?
Thank you,
John

Hi John, thanks for you response.
Here you have an workbook reproducing the problem.
You can find on Workbook the set configured and on Dashboard I've mounted an example in wich I have my extension listening MarkSelection events and calling getMarksAsync.

The credentials for the extension are: user1/password

After login, if you select any mark on dashboard you will have the error printed on console.

@BrunoMNDantas - We were not able to duplicate this with extensions v1.8 and Tableau 2021.1.12. Would it be possible to share your workbook with us? Thank you, John
Superstore.zip

@BrunoMNDantas
I have good news and bad news.
First the good: With your workbook, we can duplicate the issue.
The bad: There is a defect in our handling of the selection that will require a maintenance version of Tableau.

However, the issue is not in the filter, but in the set on the detail. If you can avoid that, everything works correctly. Meanwhile, we will get this fixed so that there isn't this restriction.

Can you avoid the set on the details. I'm guessing that your extension is meant for any workbook, so that isn't a long term solution.

Thanks for bringing this to our attention.
John

@BrunoMNDantas I have good news and bad news. First the good: With your workbook, we can duplicate the issue. The bad: There is a defect in our handling of the selection that will require a maintenance version of Tableau.

However, the issue is not in the filter, but in the set on the detail. If you can avoid that, everything works correctly. Meanwhile, we will get this fixed so that there isn't this restriction.

Can you avoid the set on the details. I'm guessing that your extension is meant for any workbook, so that isn't a long term solution.

Thanks for bringing this to our attention. John

Thanks for your help.
I will keep an eye on updates 👍