Home / Business Intelligence / Customizing InfoView – Part 2: Log On Instructions and Dynamic Pizzazz

Customizing InfoView – Part 2: Log On Instructions and Dynamic Pizzazz

If you haven’t already, you will want to read Part 1 of this series, where I listed some of my best practices that should be done before customizing InfoView and then covered how to add a custom logo and custom title and greeting to the log on page.  In part 2, I will show you how to change the log on page instructions and I will also cover a more advanced customization that can help you make the log on page more dynamic.

Changing the Log On Page Instructions

The InfoView log on page also comes with generic instructions telling the user to enter her credentials and contact the system administrator if a problem occurs. These instructions can be changed so that the message more closely aligns with the business processes at your organization.


The instructions can be tailored by modifying the PlatformResources_en.properties file within the PlatformServices_en.jar file under the webapps\PlatformServices\WEB-INF\lib directory.

Navigate to the webapps\PlatformServices\WEB-INF\lib directory and open PlatformServices_en.jar using 7-Zip, WinRAR, or any other decompression utility that works with .JAR files. Find the PlatformResources_en.properties file and open it. Scroll through the file to find the logon.firstInstruction and logon.secondInstruction parameters and modify them as needed. You may choose to modify one or both of the parameters. You may use plain text or, as shown in the example below, you may use a combination of plain text and HTML.


In the example above, only the second instruction was changed by replacing the default text with a new custom value:

logon.secondInstruction=For questions regarding account information, contact Adam Lange at x756 or <a href=”mailto:lange@ltcc.edu” class=”homepage”>lange@ltcc.edu</a>.<br><a href=”https://portal.ltcc.edu/facstaffresources/technology/Lists/Report%20Requests/NewForm.aspx” class=”homepage” target=”_blank”>Click here</a> to request a new report.

Save and close PlatformResources_en.properties and PlatformServices_en.jar and then restart Tomcat. The new instructions should now be visible on the log on page.


Adding Dynamic Text to Log On Page

My employer uses a reporting database which is updated daily from an ERP system. The refresh typically occurs at 1:30AM every morning. In the future, we may establish a second mid-day refresh around noon, but for now the reporting database is updated only once daily.

It is sometimes a struggle for users to remember that their reports do not contain real time information. Furthermore, there is sometimes confusion over exactly when the reporting database was last updated. To address these issues, I added a dynamic message to the InfoView log on page to display the date and time when the reporting database was last refreshed. This is a simple and intuitive message which gets all users on the same page in terms of the timeliness of the reporting database and the BusinessObjects reports.


The message is updated automatically each day by a sequence of three steps:

1) The daily refresh of the reporting database completes at 1:30AM which then triggers the automatic execution of a SQL stored procedure.

2) The stored procedure writes the timestamp of when the refresh completed to a text file under the webapps\InfoViewApp\WEB-INF directory.

3) A custom Java code snippet in webapps\InfoViewApp\logon.jsp picks up the timestamp and displays it in bold red text on the InfoView log on page.


Here is the SQL stored procedure referenced in Steps 1 and 2:



      — =============================================

      — Author:        Adam Lange

      — Create date:   3/20/2013

      — Description:   Writes to refresh data to ODSREFRESH.txt file on LTCC-BOAPP

      — =============================================


      — SET NOCOUNT ON added to prevent extra result sets from

      — interfering with SELECT statements.



      DECLARE @cmd VARCHAR(256)

      DECLARE @result VARCHAR(100)

      SET @result = ‘ODS reporting database last updated ‘ + (SELECT       LTRIM(RTRIM(REPLACE(CONVERT(VARCHAR(30), GETDATE()), ‘  ‘, ‘ ‘))))

      SET @cmd= ‘echo>\\LTCC-BOAPP\WEB-INF\ODSREFRESH.txt ‘ + @result

      EXEC master..xp_cmdshell @cmd, no_output



Here is the Java code snippet added to the logon.jsp page as mentioned in Step 3:


String fileName = “/WEB-INF/ODSREFRESH.txt”;

InputStream ins = application.getResourceAsStream(fileName);



      if(ins == null)






      BufferedReader br = new BufferedReader((new InputStreamReader(ins)));

      String data;

      while((data= br.readLine())!= null)




catch(IOException e)



Customizing Launch Pad in 4.0

Again, all information discussed in this article is relevant only to SAP BusinessObjects XI 3.1. You can perform many of the same customizations in SAP BusinessObjects 4.0, but the procedures are often quite different. For information on customizing Launch Pad in 4.0, I recommend consulting these resources:

Business Intelligence Platform Administrator Guide

SAP BusinessObjects OEM Customization Guide

Customizing SAP BusinessObjects BI 4.0

About Adam

Adam Lange is a reporting and analytics specialist with a passion for data. He has worked mostly in higher education where he has developed countless reporting solutions. Adam lives in Phoenix, Arizona with his wife and more cats than he cares to admit.

Check Also

Ancient Egypt and BusinessObjects – Both Light Years Ahead

One of the reasons I am so fascinated by the Ancient Egyptian culture is that ...