-
1. Re: getSchema called three times
Brendan LeeMar 31, 2017 11:09 AM (in response to Carey Gister)
Hey Carey,
Are you viewing this behavior when working with a WDC on Desktop or with a WDC on Tableau Server that is refreshing? And what exactly is the workflow you are going through? Initial connection, extract refresh, etc.
I've just tried this out on my end in Tableau 10.2 Desktop and I can't reproduce the issue. What I tried was just putting console.log messages in my getSchema call than looking at the logs.
-Brendan
-
2. Re: getSchema called three times
Carey Gister Apr 3, 2017 11:54 AM (in response to Brendan Lee)Hi Mr. Lee,
The problem occurs with Tableau Desktop. It only happens if getSchema sends an empty array to the callback function. This occurs when no valid schemas are returned from my server, which will happen if no data is available for the requesting user.
I can't find a way to signal to the Tableau WDC that I want to abandon the getSchema operation other than raising an error.
Do you know of a mechanism to indicate this state?