Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
arijit_das
Active Contributor


In a recent BO upgrade project, I did face a requirement of displaying custom message in BI Launchpad login page. The upgrade happened from BOXI3.1 to BO 4.0. Earlier, they used to edit the logon.jsp file inside InfoViewApp web service folder to display their custom messages. But the same trick did not work in BO 4.0.

In this blog, let me describe how I managed to display a custom message in BI Launchpad login page for SAP BusinessObjects Business Intelligence Platform 4.0 SP6.

Requirement


Let the requirement be as below:

  1. To show a pop-up message when the user enters the URL for BI Launchpad.

  2. In the log-in screen we need to show some custom message.


Assumption


Let's assume that SAP BO BI Platform 4.0 has been installed and configured with default Tomcat web application server.

Steps


Here are the steps to achieve the requirement:

  1. Stop Tomcat in the BO server.

  2. Delete the folder <Tomcat Installation directory>\work\Catalina\localhost\BOE. This is a temporary folder and will be re-created when tomcat will be started.

  3. Go to the folder <Tomcat Installation directory>\webapps\BOE\WEB-INF\eclipse\plugins\webpath.InfoView\web.

  4. Take a backup of the file custom.jsp and keep it in a safe location.

  5. Create a copy of the file logon.jsp in the same folder and rename it as custom.jsp.

  6. Open newly created custom.jsp file in notepad for editing.

  7. To create a pop-up message, append the following line just before the <title> tag:<scriptlanguage=JavaScript> alert('Custom Pop-Up Message');</script>









    Example




    <script language=JavaScript>

    alert('Information: \n Any Report / UserID not used in last 2 months will be cleaned up as part of Regular System maintenance.');

    </script>


  8. Add the custom message you want to display in the login screen just after the line :

    <divclass="logonIFrame">


     












    Example




    <font color="Mediumblue">For logon credentials, kindly contact

    <a href=mailto:ari007.cse@gmail.com"><font color="red"><span style="text-decoration:underline;">Arijit Das</span></font></a>

    </font>




  9. Save and close the file.

  10. Go to folder <Tomcat Installation directory>\webapps\BOE\WEB-INF\internal.

  11. Take a backup of the file BIlaunchpad.properties and keep it in a safe location.

  12. Open existing BIlaunchpad.properties file in notepad for editing.

  13. Change the line

    redirection.iframe.1.redirectto.url=/logon.jsp


    to


    redirection.iframe.1.redirectto.url=/custom.jsp



  14. Save and close the file.

  15. Start Tomcat from Central Configuration Manager. It will take some time to re-generate the BOE temporary folder which we deleted in step 2.

  16. Clear browser cache and java temporary files.

  17. Now open the BI Launchpad URL: http://boserver:port/BOE/BI in the browser.

  18. First the pop-up message will appear as we configured in step 7.



  19. Once you click OK, the logon screen will appear with custom message that we configured in step 8.




How to do it for BO 4.1

The process is similar for BO 4.1 also but with some minor differences :

 

Steps 1-7 are same as we did for BO 4.0.

 

Step 8: Add the custom message to be displayed just before the tag <h:form>.

Steps 9-12 are again same as before.

Step 13: Change the line

          redirection.iframe.1.redirectto.url=/logon.faces

          to

          redirection.iframe.1.redirectto.url=/custom.faces

 

Steps 14-19 are again the same as before.

 








Changing files directly in tomcat folder should not be considered permanent. Once BOE web service is re-deployed from the original war file, the changes will be gone. So, better is to make changes in the following files and then run wdeploy tool to redeploy BOE web service.

  • <BO Installation Dir>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\internal\BIlaunchpad.properties

  • <BO Installation Dir>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\eclipse\plugins\com.businessobjects.webpath.InfoView.jar





How to do it for BO 4.2 Fiorified Launchpad

Please follow the blog:

https://blogs.sap.com/2018/02/21/how-to-display-custom-message-in-fiorified-bi-launchpad-login-page/

 
77 Comments
Labels in this area