2 Replies Latest reply on Mar 28, 2016 6:32 AM by Joseph Bertram

    Tableau Server :: tabcmd or tabadmin to Set default login page?

    Joseph Bertram

      Hi everyone,

       

      I've noticed that you cannot pick a view to be the default page for all users.  But each individual user can set their own start page to be a view.

       

      It would be difficult and time consuming to manually log in and set this up for each of our users, however, if we could do it via command line arguments, we could script it.

       

      Is there a way to set the default web page from the command line?

        • 1. Re: Tableau Server :: tabcmd or tabadmin to Set default login page?
          Russell Christopher

          Hey, Joseph -

           

          Short answer? No. There is no supported way to achieve this using the CLI tools or the REST API. I'd guess the reason why you can't select a single View to be "everyone's" default start page is the designers don't want to put an Admin in a position to inadvertently assign a start page to users who might not have permissions on same. Have no idea what would happen in that situation, but suspect it wouldn't be good

           

          That said, there is probably an unsupported way to do this....You'd make a change like this at your own risk, and modifying system tables directly puts your Tableau Server outside of support boundaries....if you break something, you're on your own: Game. Set. Match.

           

          Anyhoo, there's a table called user_prefs in Tableau's metadata database. I just set my start page to something and peeked in this table:

           

          Screen Shot 2016-03-28 at 9.10.31 PM.png

           

          Lo and behold, I can see the viz I just chose (Book1-WithTabs).

           

          SO, if you know how to write UPDATE statements, can figure out WHICH rows need to be modified by examining other tables in this db, and can sleuth out way to connect with WRITE access to the db, you can probably come up with a workable solution...If you can't (please don't take this the wrong way) and need help, you're probably self-selecting yourself out of the group of folks who might consider actually trying this...

           

          HTH!