Tableau Gurus, Need help on this!!!!!
Has nobody done this before ??
Hi Nitin -
There is no Java API to do work like this. Can you be a little bit more specific about what you mean by "refresh data source", however? Your description is a little vague. Do you mean:
- You have an in-memory extract that you want to refresh
- You have a dashboard in a browser and you just want it to refresh itself
Based on what you need to do, there probably is a way....but we need to know what you want to do with more precision.
This is a requrement for me as well. Let me explain.
I have a process that extracts data from ERP and creates some calculated measures, updates various dimenstion and creates a flat table. We have created a data source on this flat table.
Every morning the end user needs to see refreshed dashboard.
To achieve that, we have scheduled process for ETL at night. Based on # of days for which it needs to pull data, the process time varies and hence we have kept sufficient time gap between process start and scheduled refresh for Data source extract on Tableau server.
e.g ETL starts at 1AM and data soruce extract refresh scheduled on server at 6AM.
What I was looking for was a way to call Tableau data source extract refresh once my ETL process is done.
Is that possible? Is there any API interface whcih I can call from python or java??