Skip to main content

My Code :

tableau_auth = TSC.TableauAuth(user, password)

server = TSC.Server(r'http://yourserver.com')

server.use_server_version()

  

with server.auth.sign_in(tableau_auth):

 

#csv file create with view_item.csv

 

all_workbooks, pagination_item = server.workbooks.get()

wfound = [workbook for workbook in all_workbooks if workbook.name == 'MyWorkbook']

wconnect = server.workbooks.get_by_id(wfound[0].id)

server.workbooks.populate_views(wconnect)

vfound = [view for view in wconnect.views if len(view.name) > 0]

view_item = vfound[0]

server.views.populate_csv(view_item)

with open('view_csv.csv','wb') as f:

 f.write(b''.join(view_item.csv))

 

Is that possible to send filters with these codes.?How to extract the all the worksheets as seperate csv file?Request you to share your knowledge on this @Chris McClellan​ 

1 件の回答
0/9000