Skip to Content
avatar image
Former Member

BI Launchpad Help link redirection to some other URL

Hi Experts,

Greetings for the day!

We have a requirement to change the URL redirection of Help link on BI Launchpad to some other internal Knowledge Base site. Please see the below attached screenshot-1.jpg for reference.

I have identified the source code by applying Fiddler trace & captured the JSP, which is called when clicking on the Help link. Attached screenshot-2.jpg is the snapshot of the Fiddler trace. The URL is generated like this : /BOE/portal/1606032340/PlatformServices/jsp/Help/helpRedirect.faces?cafWebSesInit=true&bttoken= ≈pKind=InfoView&service=%2FInfoView%2Fcommon%∾tId=4891&containerId=⪯f=maxOpageUt%3D200%3BmaxOpageC%3D10%3Btz%3DEtc%2FUTC%3BmUnit%3Dinch%3BshowFilters%3Dtrue%3BsmtpFrom%3Dtrue%3BpromptForUnsavedData%3Dtrue%3B&resourceId=4848

Considering above points, I dig down the code & gone through with the helpRedirect.jsp file from the below location: <BOBJ-Install-Directory>/webapps/tomcat/BOE/eclipse/plugins/webpath.PlatformServices/jsp/Help/

Below is the content of helpRedirect.jsp file:


<%@ page language="java" contentType="text/html; charset=utf-8"%>

<%@ taglib prefix="f" uri=""%>

<%@ taglib prefix="h" uri=""%>

<%@ page import="com.businessobjects.webutil.ClientUtils,java.util.Locale,java.util.Arrays"%>

<jsp:useBean id="helpBean"


scope="request" />



validation for loc parameter for XSS issue ADAPT01632397.


String locparam = request.getParameter("loc");

Locale localeObj = null;

Locale locs[] = Locale.getAvailableLocales();

if(locparam!= null){


String locparams[] = locparam.split("_");

localeObj = new Locale(locparams[0],locparams[1]);


localeObj= new Locale(locparam);



<jsp:forward page="/jsp/Validation_Error/httperror_400.jsp"></jsp:forward>

<% return; }}


response.setHeader("Expires", "0");




<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


<script type="text/javascript" src="<h:outputText value="#{helpBean.helpContextPath}#{helpBean.resourceMap}" />"></script>

<script type="text/javascript">

var resourceId = "<h:outputText value="#{helpBean.resourceId}" />";

var page = "<h:outputText value="#{helpBean.defaultPage}" />";

if (resourceId.length > 0 && window[resourceId]) {

page = page + "?" + window[resourceId];


var target = "<h:outputText value="#{helpBean.helpContextPath}" />" + "/" + page;

window.location = target;






Does anyone have tried this scenario?

As per my understanding above JSP file contains a Java script code snippet, which has a variable "target" which is containing the final link for the Help site redirection.

Now the question is –

  • Does changing the target variable value in the above java script changes the help link redirection? (We will clear the tomcat work directory & will restart the tomcat server to take pick up the new changes).
  • What are the best practice to change the default behavior of the bundled web-application which shipped with SAP BusinessObjects?



screenshot-1.jpg (18.1 kB)
screenshot-2.jpg (15.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 11, 2017 at 06:22 PM

    Best practice is not to mess with default BOE webapp, outside of the Customization guide.

    Add comment
    10|10000 characters needed characters exceeded