![]() |
Enterprise
RTView®
User Guide |
Substitutions The Substitutions feature allows you to build open-ended displays in which data attachments and commands depend on values defined at the time the display is run. In this way, a single display can be reused to show data and execute commands from a number of different sources. When data attachments are created in the Display Builder, generic values are used instead of the actual value of any field in the Attach To Data and Define Command dialogs. Later when the display is running, these generic values are defined. Substitution values can either be defined for all displays or for a single drill down display.
To specify a value for substitution,
select Tools>Options. Click the Substitutions tab to add,
remove or edit substitution values. These values are inherited by drill
down displays. Substitutions specified in the Applications Options dialog
can be saved to OPTIONS.ini. For more information on how to use
the Application Options dialog to specify substitutions, see Application
Options. NOTE: The substitution string $value is reserved
for internal use. NOTE: Substitution strings cannot contain the following:
Linking Substitutions with
Variables
NOTE: If you create a variable in the Attach to Variable Data dialog and it begins with a $, the variable will be linked to a substitution with the same name. Drill Down Substitutions
Some substitutions are automatically set on drill down displays that are activated from an object that displays tabular data (i.e., table or graph). The data attachment for the source object is used to create substitutions that will be passed into the drill down display. The row which corresponds to the selected element in the source object (i.e., cell, object, bar, or wedge) will be used to construct the substitution when the drill down is activated. Which substitutions are set on the drill down display depends on the data attachment of the source object. To customize which substitutions will be passed into drill down displays, double-click on drillDownColumnSubs in the Object Properties window to open the Drill Down Column Substitutions dialog.
For information on Substitutions for your data source, refer to the
Data Sources section of this
documentation.
For more information on objects that display tabular data, see the Table Objects and Graph Objects sections. To learn more about setting drill down targets, open the display file drilldown.rtv (located in demos/tutorials) for an example of the different ways drill down targets can be utilized in a display. |
|
|
|
|
|
|
|