HelpConsole 2008 SP1 - ReportsDNA Manual HelpConsole 2008 SP1 - ReportsDNA Manual

Home > Extensions > Extension Example

Extension Example

RNA-Example is a working extension that creates dummy data. The  The user can specify the number of fields and the number of rows of data to create. 
The report configuration form is displayed in Figure 2 and an explanation of the settings is detailed in Table 1.  Download the RNA-Example Addin by clicking on the link below and install it as you would any Excel Addin.

Start with the Extension Template to create your own extension.

Download RNA-Example Addin
Once installed, the source listbox displays Example as a new report source.

Figure 1: Extension Available as a New Data Source




Next, download a working report that uses the extension.

Download a working report that uses the RNA-Example Addin


 Figure 2: Report Configuration Form

 Example Output




Table 1: Description of Report Settings


#
Setting
Description
1
Number of Fields
Specifies the number of fields of data.
2
Number of Rows
Specifies the number of rows of data.  This field takes a parameter, [PARAM1], as its value.  The parameter's value is determined by the Prompt for Parameters setting.
3
Parameters - Number of Rows
Specifies, the default values for parameters.  Default values for multiple parameters are comma delimited (separated by commas).

If there were two parameters, for example, the default values could be specified as 3,4. The default value for [PARAM1] would be 3, and the default value for [PARAM2] would be 4.
4
Prompt for Parameters  
Specifies if the user will be prompted for parameter values when the report is generated.

Checked - the user is prompted for the number of rows every time the report is run.
Unchecked - the user is NOT prompted for the number of rows.  The number of rows is set to the value in the Parameters - Number of Rows  setting.




See also

Installing Extensions
Extension Template
How to Create an Extension