Skip to Content
Author's profile photo Arijit Das

How to display custom message in Fiorified BI Launchpad Login page

Introduction

In a previous blog, I described a way to display custom message in SAP BusinessObjects BI Launchpad login page for version 4.0 & 4.1. Since SAP BusinessObjects BI Platform version 4.2 SP04, the Fiorified BI Launchpad has been introduced. In this blog, I shall describe how to do similar customization in the new Fiorified BI Launchpad.

Requirement

Let the requirement be as below:

  1. To show a pop-up message when the user enters the URL for the Fiorified BI Launchpad.
  2. In the log-in screen we need to show some custom message.

Assumption

  1. A standalone deployment of SAP BO BI Platform 4.2 SP05 configured with bundled Tomcat web application server.
  2. Only English language pack has been installed.
  3. BO server OS: Windows.
  4. No SSO configured.

Steps

Here are the steps to achieve the requirement:

Note:  This customization is not supported by SAP. These steps may not work in future releases of the product.
    1. Navigate to <Tomcat Installation directory>\webapps\BOE\WEB-INF\eclipse\plugins\webpath.FioriBI\web\com\sap\fioribi\css folder.
    2. Keep a backup of the file Logonpage.css in a safe location.
    3. Modify the css file and add a class for styling the custom message to be displayed in the login screen. I have used following class:
      .BILP-customMessage{
      	outline-style:none !important;
      	font-family:"Georgia" !important;
      	font-size:12px !important;
      	color: blue !important;
      	font-weight: bold !important;
      }
    4.  Navigate to the folder <Tomcat Installation directory>\webapps\BOE\WEB-INF\eclipse\plugins\webpath.FioriBI\web\com\sap\fioribi\modules\logonpage.
    5. Keep a backup of the file LogonpageView.view.js in a safe location.
    6. Open the JavaScript file in an editor. I used Web IDE as it provides option to beautify the code and thus improves readability.
    7. Locate the line
      ... var oHeadLabel = new sap.m.Label ... ​
    8. Add following lines just before the above line. Change the text to display your own message:
      var oCustomMessage = new sap.m.Label({
      		text: "For login credentials, kindly contact Arijit Das."
      	}).addStyleClass("BILP-customMessage");​
    9. Locate the following line in the same file:
      var oVlayout = new sap.m.VBox({
      		items: [oMatrixLayout0, oHeadLabel, oSubLabel, oErrorMessageStrip, oMatrixLayout, oLoginButton, oMatrixLayout2, oMatrixLayout1]
      }).addStyleClass("sapUiSizeCompact BILP-Vbox");​
    10. Modify the line as below:
      var oVlayout = new sap.m.VBox({
      		items: [oMatrixLayout0, oCustomMessage, oHeadLabel, oSubLabel, oErrorMessageStrip, oMatrixLayout, oLoginButton, oMatrixLayout2, oMatrixLayout1]
      }).addStyleClass("sapUiSizeCompact BILP-Vbox");​
    11. Locate the following line:
      return loginPage;​
    12. Add the line below just before the above line. Change the text to display your own pop-up message.
      alert('Information: \n Any Report / UserID not used in last 2 months will be cleaned up as part of Regular System maintenance.');​
    13. Save the file.
    14. Stop Tomcat in the BO server.
    15. 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.
    16. Start Tomcat from Central Configuration Manager. It will take some time to re-generate the BOE temporary folder which we deleted in the previous step.
    17. Now open the new BI Launchpad URL: http://boserver:port/BOE/BILaunchpad in the browser.
    18. First the pop-up message will appear as we configured in step 12.
    19. Once you click OK, the logon screen will appear with custom message that we configured in step 8.

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Uday Thakur
      Uday Thakur

      Hello Arijit,

       

      I was just trying to update the LaunchPad with custom message but it is not displaying. I performed all steps except step 12. Is there anything to take care of I am missing here ? Please suggest.

       

      Thank you.

      Author's profile photo Arijit Das
      Arijit Das
      Blog Post Author

      What is the url for your BI Launchpad ?

      Author's profile photo Uday Thakur
      Uday Thakur

      http://<Host IP>/<Server Name>BOBJ/BOE/BI

      For example : http://111.22.333.444/IN2BOBJ/BOE/BI

       

       

      Author's profile photo Arijit Das
      Arijit Das
      Blog Post Author

      Probably you are using the old login page for BI Launchpad. In that case, check  https://blogs.sap.com/2014/04/14/how-to-display-custom-message-in-bi-launchpad-login-page/

      Author's profile photo Asma CHAOUACHI
      Asma CHAOUACHI

      Hi Arijit,

      I need to add a custom message in Opendocumen Logon screen. So I tried to follow the same steps mentioned in the old blog for login page for BI Launchpad but the custom message is not added in the OpenDocument Logon screen. However,t it is working for me with Bi lainchpad.

      Please check those steps:

      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. Navigate to  C:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\BOE\WEB-INF\eclipse\plugins\webpath.OpenDocument\web\opendoc
      4. Create a copy of the file openDocument.jsp in the same folder and rename it as custom.jsp.
      5. Open newly created custom.jsp file in notepad for editing and add a custom message after the line:<div class="logonContainer">
      6. Go to  C:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\BOE\WEB-INF\internal\openDocment.properties
      7. Change the line:req.forward.1.redirectto.url=/opendoc/openDocuement.jsp

        toreq.forward.1.redirectto.url=/opendoc/custom.jsp

      8. Restart Tomcat

       

      Could you please confirm whether the customization is supported with OpenDocument or not?

       

      Thank you.

       

      Regards

      Asma

      Author's profile photo rajesh sinha
      rajesh sinha

      Hi Arijit,

      I am using BI 4.3 SP1 and want to add "Disclaimer" with a mouseover message "..." in Fioried BI Launchpad which comes as the default BILP.

      I followed the above steps as stated above but even I am not able to get results.

      Need your help.

      Warm Regards,
      Rajesh Sinha

      Author's profile photo Michael Grackin
      Michael Grackin

      I performed these instructions with BOB 4.3, SP1, Patch 6 and it works.  Remember to stop Tomcat, delete the contents of the work directory, and then restart Tomcat.  You may also need to clear the cache of the client browser to see the changes.

      Author's profile photo Rajesh P
      Rajesh P

      Thanks for your inputs Arijit.

      However my requirement falls a little closer, to provide "forget password" url in the BI Launch pad. I picked up the application from Automatic Password Reset Application for SAP BusinessObjects BI 4.x | SAP Blogs and now I need to inscribe the "Forget Password" url in BI Launch Pad. Are the steps same if we were to include a url ( as defined in step 8) ?

      Thank you.