Hello, my problem is that I have a project on my Tableau Server, which displays that it has no datasources. But the containing workbooks do have some datasources, which are also shared by some of them.
I've managed to download these workbook datasources by populating the connection-ids and then downloading them:
server.workbooks.populate_connections(workbook)
connection_item = workbook.connections[0]
datasource = server.datasources.get_by_id(connection_item.datasource_id)
datasources.download(datasource.id)
But it doesn't work when I directly want to download the datasources of the project due to the problem that the download function only searches for datasources in the project-level.
I'ld be thankful if there is anyone who could help me with that!
EDIT: I would generally like to operate on workbook-level than on project-level.
Hello, my problem is that I have a project on my Tableau Server, which displays that it has no datasources. But the containing workbooks do have some datasources, which are also shared by some of them.
I've managed to download these workbook datasources by populating the connection-ids and then downloading them:
But it doesn't work when I directly want to download the datasources of the project due to the problem that the download function only searches for datasources in the project-level.
I'ld be thankful if there is anyone who could help me with that!
EDIT: I would generally like to operate on workbook-level than on project-level.