SAS Portal and BI Dashboard: Customizing the Tabs
You can customize the SAS Portal and SAS BI Dashboard Web Browser titles in just a few moments. Here’s another branding trick that Kushal Ramani sent to me. He also sent some these branding tricks for Web Report Studio and SAS Portal. For this example, you are updating the tab associated with the tool. I used the word “Fancy” in all of these so I could easily see the changes.
Updating the JSP Files
Note: I’m using JBoss installed on a Windows7 server with my SAS BI 9.3 installation. All of my paths are based on that environment. Contact SAS Technical Support if you need help locating the files associated with other environments.
To make changes to the browser tab, you need to update the associated JavaServer Pages (JSP) files that are found in the JBoss directory. For this example, let’s change the SAS BI Dashboard tab. We will change the one that appears when the BI Dashboard appears and not the one use when you are editing the dashboard. If you do not have access to the server, you may need to enlist your SAS Administrator’s help. Also – this does change it for everyone.
- Stop the Web Application Server (JBoss) from the Windows Services.
- Navigate to the C:\jboss-4.2.3.GA\server\SASServer1\deploy_sas directory.
Here’s the path and file you need change based on what you want to do:
- Portal Tab
- Path: <see step 2>\sas.portal4.3.ear\sas.portal.war\jsp\html\portal
- File: HeadInclude.jsp
- Dashboard Builder Window
(Called Fancy BI Title in the artwork above)
- Path: <see step 2>\sas.bidashboard4.3.ear\sas.bidashboard.war\DashboardBuilder
- File: Index.jsp
- Dashboard Runtime
(Called Fancy Fancy Title in the artwork above)
- Path: <see step 2>\sas.bidashboard4.3.ear\sas.bidashboard.war\DashboardRuntime
- File: Index.jsp
- Portal Tab
- Make a copy of the JSP file and place it in the same directory. This way you have a back up if you make unintended changes.
- Edit the Index.jspfile from the Dashboard Runtime sub-directory.
You need to find this line in the code: <title><%=title%></title> and replace the <%=title%> with what you want it to say, as shown in the following figure.
- Save the file. Repeat steps 4 and 5 for the other files shown in step 3 if desired.
- Restart the JBoss service.
- Open BI Dashboard to see your new fancy title. Boom!
Learn all about SAS BI
You can learn more about SAS Business Intelligence from the "SAS BI Bible." Take a peek inside the Building Business Intelligience with SAS book.
Latest posts by Tricia Aanderud (see all)
- Use these 7 Data Storytelling Examples to Make Your Insights more Meaningful Today - 2018-06-09
- Use Network Analysis to Understand Your Customers with SAS Visual Analytics 8.2 - 2018-01-21
- My 7 Favorite Features in SAS Visual Analytics 8.2 on Viya - 2018-01-14
- Designing Dashboards: Finding the Fantastic Five Colors - 2017-06-19
- Creating a Web Analytics Report in SAS Visual Analytics 8.1 - 2017-06-19
Tags: Dashboards - Only Better