Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

My template-dashboard.html file now looked like this.

Code Block
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>My custom dashboard</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="description" content="My Site" />
   <meta name="keywords" content="key, words" />  
   <meta name="Distribution" content="Global" />
   <meta name="Robots" content="index,follow" />
   <link rel="stylesheet" type="text/css" href="dashboard-custom/style/stylesheet.css" media="screen" />
</head>
<body>
   <div id="wrapper">
      <div id="logo"><img src="dashboard-custom/image/companylogo.png" />
       
         <h1>My custom dashboard</h1>
      </div>
      <p id="top">V1.0 For demo purposes only </p>
     
      <ul id="menu">
         <li><a class="current" href="http://wiki.pentaho.com/pages/createpage.action#" title="Home">Dashboard</a></li>
         <li><a href="Reports">Reports</a></li>
         <li><a href="Link">Link</a></li>
         <li><a href="Link">Link</a></li>
         <li><a href="Link">Link</a></li>
         <li><a href="Link">Link</a></li>
         <li><a href="Logout">Logout</a></li>   
      </ul>

      <!-- START OF DASHBOARD CONTENTS -->
         {content}
      <!-- END OF DASHBOARD CONTENTS -->

      <div id="footer">
         <p><img href="dashboard-custom/images/copyright.png"></p>
      </div>
   </div>
</body>
</html>

...

and placed the images, style and javascript files into that directory. (This directory will be regarded as the 'root directory for your web page)

The next step was to create the dashboard file itself.

I created the following directory from within the Pentaho Console (otherwise the index.xml isn't created).

Panel

biserver-ce/pentaho-solutions/system/pentahobi-cdfdevelopers/dashboard-custom/

 and created the following files:

...

I then navigated to the dashboard 

Code Block
http://localhost:8080/pentaho/content/pentaho-cdf/RenderXCDF?solution=bi-developers&path=/dashboard-custom&action=custom.xcdf