I try to download the view to pptx file using the API, however, it didn't work, got the 404 not found error.
I can download the view as image and pdf. I wonder if the Tableau API supports the pptx format for the view?
@VAN PHUONG
If you are using REST API, you can use it in the workbooks endpoint:
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm⌗download_workbook_powerpoint
If using TSC, you may use the populate_powerpoint function:
# Sign in, get view, etc.
# Populate and save the workbook pdf as 'workbook_pdf.pdf'
server.workbooks.populate_powerpoint(workbook_item)
with open('./workbook_pppt.pptx', 'wb') as f:
f.write(workbook_item.powerpoint)
Currently, Downloading a view as pptx is not supported, only at workbook endpoint.
If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.
Regards,
Diego Martinez
Tableau Visionary and Forums Ambassador