Extending the Dashboard Interface - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

Extending the Dashboard Interface

Description:

Example Code. Usage Notes. CenterView 4.0 Enhancements. Q & A. Documentation ... 3. Abstract out variable items in the resultant string. Writing Plug-in Demo ... – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 14
Provided by: cor69
Category:

less

Transcript and Presenter's Notes

Title: Extending the Dashboard Interface


1
Extending the Dashboard Interface
  • (AKA Writing Plug-ins!!)
  • Troy Millett

2
Session Outline
  • Documentation Resources
  • The RequestInfo object
  • The DashboardPlugin API
  • Recommended Process
  • Example Code
  • Usage Notes
  • CenterView 4.0 Enhancements
  • Q A

3
Documentation
  • Go to http//wiki.corda.com
  • Follow links to
  • CenterView 3.1 Documentation
  • Advanced Dashboard Development
  • Dashboard Plug-in API

4
RequestInfo Object
  • Used by all methods that return content
  • Used in plugins to
  • Write to the console (Debugging)
  • Get values of Environment Variables
  • Get a variable
  • Get data from a datafunnel
  • Get the current date

5
DashboardPlugin API
  • getVersion(double version)
  • Passes in the current server version number
  • Returns a double indicating API Level supported
  • Version 1.0 APIs
  • getPCScript getPCXML
  • getHTML getDatafunnel
  • Version 1.3 APIs
  • getITXML
  • Version 1.4 APIs
  • getIncludeXML

6
DashboardPlugin API
7
Recommended Process
  • Create the needed tag with the string as close as
    possible to the result desired
  • 2. Copy the string into a method in the plugin
    and adjust quotes, etc
  • 3. Abstract out variable items in the resultant
    string

8
Writing Plug-in Demo
9
Plug-in Usage Notes
  • Most plug-ins still require class to be
    pre-pended on the name.
  • Remember to also add the appropriate package name
    as defined in the plug-in.

10
CenterView 4.0 Enhancements
  • 3 New APIs added to DashboardPlugin
  • getDefaultParameterString
  • getParameterValues
  • getParameterDescriptions
  • Demonstration

11
Additional Resources
  • CD
  • Corda Connection Visual Evolution 2008
  • Go to portal.corda.com
  • Login
  • Resources
  • Visual Evolution 2008
  • Meet me in the Lounge

12
  • Q A

13
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com