I built a web data connector using this tutorial. My web data connector can fetch the data now. The problem is that i can't refresh and update the data automatically. I have to manually fetch data in tableau desktop (the screenshot) and click the button to get the data , update my dashboard then publish on tableau server. How do i solve the issue and update the data automatically?
Hi @majid mousavi ,
The extract refresh of web data connector works same as any other extract refresh on tableau server. Make sure that your embedding the credentials of WDC during publishing the workbook into tableau server.
Following are to be checked
1.Add all connectors to safelist and secondary safelist by executing below command. To add a connector to the safe list and secondary safe list, use the tsm data-access web-data-connectors add command, providing the name, safe list URL, and secondary safe list URLs.
tsm data-access web-data-connectors add --name "USGS Earthquakes" --url https://tableau.github.io:443/webdataconnector/Examples/html/earthquakeUSGS.html --secondary https://tableau.github.io/.*,https://earthquake.usgs.gov/.*,https://maxcdn.bootstrapcdn.com/.*,https://ajax.googleapis.com/.*,https://connectors.tableau.com/.*
2. tsm pending-changes apply
For more information on WDC extract refresh on tableau server kindly refer to below link article
https://help.tableau.com/current/server/en-us/datasource_wdc.htm#manage-connectors-in-a-safe-list
Please let me know if this works for you.
Thanks & Regards
D. Santosh