Applicable Versions: 4.05.0084 and above


"How can I get the URL for a dashboard, report or query published to DataPA Enterprise so I can use it in my own web application?" describes how to obtain the URL to embed a dashboard rendered by DataPA Enterprise into your application. You may also want to control the display of tabs in the dashboard. The following knowledge base describes the options available to do this.


Hiding tabs
You can hide tabs altogether using the value pair HideTabs=true. For example, I could use the following URL to open a dashboard, hiding the tabs;


http://localhost/DataPA/Dashboard.aspx?ID=56567ba3-8145-472b-9d04-0c15a3ebb34d&autoLogin=True&username=Nick&password=password&HideTabs=true


or the following form;


<form action=""http://localhost/DataPA/Dashboard.aspx"">
<input type=""hidden"" name=""ID"" value=""56567ba3-8145-472b-9d04-0c15a3ebb34d"">
<input type=""hidden"" name=""autoLogin"" value=""true"">
<input type=""hidden"" name=""username"" value=""Nick"">
<input type=""hidden"" name=""password"" value=""password"">
<input type=""hidden"" name=""HideTabs"" value=""true"">
<input type=""submit"" name=""Submit"" value=""Open Dashboard"">
</form>


Changing the location of tabs
You can change the location of tabs using the TabPosition value pair. The possible values for the value pair are as follows;

bottomleft
bottomright
leftbottom
lefttop
rightbottom
righttop
topleft
topright


For example, I could use the following URL to open a dashboard, with the tabs displayed bottom left;


http://localhost/DataPA/Dashboard.aspx?ID=56567ba3-8145-472b-9d04-0c15a3ebb34d&autoLogin=True&username=Nick&password=password&TabPosition=bottomleft


or the following form;


<form action=""http://localhost/DataPA/Dashboard.aspx"">
<input type=""hidden"" name=""ID"" value=""56567ba3-8145-472b-9d04-0c15a3ebb34d"">
<input type=""hidden"" name=""autoLogin"" value=""true"">
<input type=""hidden"" name=""username"" value=""Nick"">
<input type=""hidden"" name=""password"" value=""password"">
<input type=""hidden"" name=""TabPosition"" value=""bottomleft"">
<input type=""submit"" name=""Submit"" value=""Open Dashboard"">
</form>


Changing the orientation of tabs
You can change the orientation of tabs using the TabOrientation=vertical value pair. For example, I could use the following URL to open a dashboard, with the tabs displayed left top and the orientation changed to vertical;


http://localhost/DataPA/Dashboard.aspx?ID=56567ba3-8145-472b-9d04-0c15a3ebb34d&autoLogin=True&username=Nick&password=password&TabPosition=lefttop&TabOrientation=vertical


or the following form;


<form action=""http://localhost/DataPA/Dashboard.aspx"">
<input type=""hidden"" name=""ID"" value=""56567ba3-8145-472b-9d04-0c15a3ebb34d"">
<input type=""hidden"" name=""autoLogin"" value=""true"">
<input type=""hidden"" name=""username"" value=""Nick"">
<input type=""hidden"" name=""password"" value=""password"">
<input type=""hidden"" name=""TabPosition"" value=""lefttop"">
<input type=""hidden"" name=""TabOrientation"" value=""vertical"">
<input type=""submit"" name=""Submit"" value=""Open Dashboard"">
</form>