Customizing BPM Dashboards

This section describes the steps you need to follow to customize BPM dashboards.

You can do the following to customize BPM dashboards:

  • Edit the JSP files

Editing the JSP Files

Each of the three BPM Dashboards has a JSP page that contains four iFrames that reference dashboard components (WebI Documents) in InfoViewApp.

The three JSP pages that are found in the RPU are as follows:

For Standard Dashboards:

/dashboards/reporting/

  • CompanyPerformance.jsp
  • CustomerPerformance.jsp
  • JobPerformance.jsp

For CPA Dashboards:

/dashboards/reporting/cpa/

  • CustomerPerformance.jsp
  • JobPerformance.jsp
Note: CompanyPerformance.jsp is also used in CPA solution dashboards as the document names used are the same in Standard.

You can see the layout of the iFrames in this part of the code in each JSP:

out.println("<table>");
out.println("<tr>");
out.println("<td>");
out.println("<iframe src='" + ProductionRevenue + "' height='100%' width='100%'>" +"</iframe>");
out.println("</td>");
out.println("<td>");
out.println("<iframe src='" + CashReceipts + "' height='100%' width='100%'>" +"</iframe>");
out.println("</td>");
out.println("</tr>");
out.println("<tr>");
out.println("<td>");
out.println("<iframe src='" + ArAging + "' height='100%' width='100%'>" +"</iframe>");
out.println("</td>");
out.println("<td>");
out.println("<iframe src='" + WIPAging + "' height='100%' width='100%'>" +"</iframe>");
out.println("</td>");
out.println("</tr>");
out.println("</table>");

The src attribute contains the path to the dashboard component.

The following figure shows a sample variable that contains the source path to the dashboard components.

//OpenDocument URLs for each of the Job Dashboards Components

String ProductionRevenue="http://" + cmsName + ":8080/OpenDocument/opendoc/openDocument.jsp?sType=wid&sPath=[Business+Performance+Management],[Reporting],[Dashboard+Components],[Job]&sDocName=Registered+Billing+Price,+Top+10+Jobs+%28Bar+Chart%29&token=" + wscToken + …

The sPath parameter indicates the location of the report/dashboard component.

The sDocName indicates the name of the report. Note that the name of the report must be properly URL-encoded with spaces converted to "+" instead of "%20".

You can also pass prompt values to the dashboard components via the URL by using the URL-encoded name of the prompt. Thus, if you want to pass a value to the prompt "Account Manager No:" add the following part to the URL:

&lsSAccount+Manager+No%3A=" + accountMgrVal
Note: The name must be preceded by IsS.

An example of how to change the dashboard is shown in the following:

  1. Open the file to be changed.

  2. Scroll down to the section where the four dashboard components are referenced.

  3. Create a copy of the line to be changed and comment one out.

  4. Change the name of the referenced component.

The following shows the result.