Hi,
We have been trying to use the personal access token to authenticate towards our tableau server. We could not get it to work, but realized that the access token and site id in the Tableau Server node is in fact not the personal access token, but rather the authentication token. Please add this third option in the Tableau Server Node for authentication
Access used by KNIME with access token it done by the following steps:
Submit POST request to tableau server and read result:
<tsRequest>
<credentials name=“TestUser” password=“12345” >
<site contentUrl=“MySite” />
</credentials>
</tsRequest>
Response:
<tsResponse xmlns=“http://tableau.com/api” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://tableau.com/api http://tableau.com/api/ts-api-3.9.xsd”>
<credentials token=“8NQp4N3RQKJFNVLKJNFV DFKJ”>
<site id=“d3d6d5cd-730a-4b87-b972-983d85a56b58” contentUrl=“MySite”/>
<user id=“8611c916-8aec-43e6-93dd-687ef6c0dc08”/>
</credentials>
</tsResponse>
The Tableau Server node uses the above site id and the credentials token to authenticate.
The person access token uses this call to authenticate which is much easier to use:
<tsRequest>
<credentials
personalAccessTokenName=“MY_TOKEN_NAME” personalAccessTokenSecret=“qlE1g9MMh9vbrjjg==:rZGHhPpP2yUW1kfn4tjg8” >
<site contentUrl=“MarketingTeam” />
</credentials>
</tsRequest>