-
1. Re: API for retrieveing list of views
Ben Sullins Oct 22, 2011 3:54 PM (in response to alekseibeloshytski0)Hi Alex,
I also am looking for this and haven't been able to find it. You can however add .xml to almost any of the pages for them to show in XML format. That might help.
Cheers,
Ben
-
2. Re: API for retrieveing list of views
Paul Gupta May 11, 2012 3:11 PM (in response to alekseibeloshytski0)Until Tableau provides a way, we just go to http://<tableauserver>/views, save the html file and then extract from there, here's a sample perl code fragment which works for us -
open (IN,"views.html") or die "Error in opening file: $!\n";
while (<IN>) {
if (/"(\/views[^"]+)"/) {
print "$1\n";
}
}
close (IN);
-
3. Re: API for retrieveing list of views
Allen Spurgeon May 23, 2012 11:58 AM (in response to alekseibeloshytski0)If you enable the custom administrative views on tableau server, you will find two views that contain the hierarchy information for views, workbooks, projects, and the owners. So you could join the views together to query project names, workbook names, view names, etc.
-
4. Re: API for retrieveing list of views
Leo Great May 28, 2012 5:56 AM (in response to alekseibeloshytski0)As said by Allen, Just set the password for the postgre DB and then use your custom application to retrieve the list of Views/Workbook from _Views available in the DB and get your custom list.
-
5. Re: API for retrieveing list of views
Lars Neumann Jun 13, 2012 7:46 AM (in response to Leo Great)I'd like to create pdf files once a week from all views from a certain site. How can this be done? I'd like to have a batch which does it with tabcmd. And I don't want to maintain a list of views as this list might change from day to day. Is there a way to get this list for my batch?
Or how can this be done scripted?
Thanks,
Lars
-
6. Re: API for retrieveing list of views
Tamas Foldi Aug 27, 2012 3:12 AM (in response to Lars Neumann)The best is to use the views in Tableau's repository. Simply enable access to postgres server and ask for your views:
select * from _views;
You can use psql command line tool to get your views from shell scripts / batch programs