IBM Support

Dashboarding made simple: Adding custom content to DASH simplified

Technical Blog Post


Abstract

Dashboarding made simple: Adding custom content to DASH simplified

Body

Adding your custom content to DASH got even simpler. DASH 3.1.0.3 (JAZZ SM 1.1.0.3) added a feature called myBox. This allows you to add any custom  content like images for background or logo, JSPs, static HTML to your dashboard.
Feature myBox is a pre-installed custom space for your web content. After adding your custom content to this space, you can use a well defined URL to add the content on your  dashboard
Follow simple steps below
1. Add your custom content to mtBox:  Add your files to <DASH-HOME>\myBox\web_files directory. Example if you wish to add a background image bg.jpg for your  dashboard. You can add the image to <DASH-HOME>\myBox\web_files\images\bg.jpg

2. Push the custom content to runtime: Go to cmd line and run ./deployMyBox.sh (bat) from)<DASH-HOME>/ui/myBox. This step simply pushes your custom content to runtime

3. Display your custom content on the dashboard: Create a new dashboard and add an  image or a web widget. Edit the widget to point to the relative url to your image. For example if you dropped your bg.jpg to <DASH-HOME>\myBox\web_files\images\bg.jpg. Use /myBox/images/bg.jpg as the url in the web widget or image widget

Now if you are working on your test server or staging server and wish to move all your cool custom content to production server, simply copy <DASH-HOME>/mybox to  the production server and run the deployMyBox.bat (sh) command as described in step 2.

In the below screenshot, the backgrund image, clock and twitter feed has been added via myBox

Good luck and Happy Dashoarding

image

 

[{"Business Unit":{"code":"BU050","label":"BU NOT IDENTIFIED"},"Product":{"code":"SSHPN2","label":"Tivoli"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

UID

ibm11276018