tableau / wdc3

Web Data Connector (WDC), connecting to web application data from Tableau.
6 stars 0 forks source link

Can't automatically establish relations. Related tables filled by Nulls. #30

Open bonnzer opened 5 months ago

bonnzer commented 5 months ago

Hey everyone!

I'm working on creating a Web Data Connector (WDC) to fetch related tables. I've been following the example provided here, but I'm encountering two issues:

  1. The relations are not auto-populating, even though I've described them in the code. Screenshot from 2024-01-30 20-48-00

  2. When I open a single table, everything works fine, and I get its dataset. However, if I open two related tables, records from one of them are populated by Null. Screenshot from 2024-01-30 20-46-02

I'm unsure if I'm doing something wrong. How can I avoid nulls and ensure that the relations work correctly? Any insights would be greatly appreciated! Thanks! :)

Code sample: https://gist.github.com/bonnzer/300ac4480d43b7908176fed6e6de6b03 Tableau: 2023.3 Nodejs: 16x, 20x @tableau/taco-toolkit: 2.0.0

akbertram commented 5 months ago

We're having the same problem with the new SDK. This previously worked with the old SDK.