Element Re-use

Search in CenterView 3.1 Documentation

In addition to the XML files that define the various dashboard components and the Server Script you may define in your dashboard files, CenterView allows you to create re-usable elements for your dashboard to simplify its structure. There are three types of re-usable content you can define for use in a dashboard:

  • XML, including Server Script
  • HTML Text
  • HTML Images

The following objects are used to define and insert re-usable dashboard elements. More information on each of these objects is available in the XML Object Reference of the CenterView User Guide.

define Assigns a name to a content definition that can then be used throughout the dashboard file structure. The define object must be specified at the dashboard level (main.dashxml). Use define to specify text, image, or XML content.

include Inserts code from a separate file at the point specified. This is useful if you have the same chunk of XML or Server Script that you want to use in multiple locations throughout your dashboard.

use Inserts the code specified by a define object at the point specified.

Labels:

released released Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.