Brilliant many thanks Elliott, i have learnt a lot from you. Thankyou
@taranjitkaur94763 жыл бұрын
Is there any way to trigger refresh through Schedules. I have set the same schedule on multiple workbooks on multiple sites. Can we directly trigger schedule .. as we do it manually and it refreshes all the workbooks through python?
@devyx3 жыл бұрын
Hey Taranjit, I'm not aware of a way to trigger the entire schedule in one API call, but you could take this approach to automate this via Python: 1) use the 'Get Extract Tasks in a Schedule' endpoint to obtain all of the extract tasks associated with the schedule. help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#query_extract_refresh_tasks 2) loop through each of the tasks obtained above and use the 'Run Extract Refresh Task' endpoint to trigger each of them. help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#run_extract_refresh_task In tableau-api-lib, you can access these endpoints through the TableauServerConnection methods: get_extract_tasks_in_a_schedule() run_extract_refresh_task()
@nikhilshinde44803 жыл бұрын
hey if i am user and not a admin how do i search the site name and site url in that case I want to get the view of the data as user with given privileges with dashboard created by someone else