Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
72:custom_reports_getting_started_creating_reports [2019/02/15 18:47] – ext-bkkr | 72:custom_reports_getting_started_creating_reports [2024/02/15 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
==== Create a Stages Data Source ==== | ==== Create a Stages Data Source ==== | ||
- | - To create a new Data Source, navigate | + | - Navigate |
- | - Select **Stages Data Source**. Enter a name for the data source. In the example, the default name is used. | + | - Select **Stages Data Source**. Enter a name for the data source. |
- Click **Next**. | - Click **Next**. | ||
- | - If you do not use the PkitMetrics.xml you need to specify the <font inherit/ | + | - If you do not use the metrics.xml you need to specify the Stages server URL and enter a Stages username and password |
- | - If you use PkitMetrics.xml, it is necessary to insert a script for your Data Source. You will see the created Data Source in your BIRT Report Designer, click on the Data Source and choose the " | + | - If you use the metrics.xml, it is necessary to insert a script for your Data Source. You will see the created Data Source in your BIRT Report Designer, click on Data Source and choose the " |
- | - Insert the [[: | + | - Insert the [[: |
==== Create a Data Set ==== | ==== Create a Data Set ==== | ||
- | - Navigate to the **Outline View** on the lower left side and right-click on **Data Set **and select **New Data Set**. | + | - Navigate to the **Outline View** |
- Select a name for the Data Set, and click **Next**. | - Select a name for the Data Set, and click **Next**. | ||
- Enter the column names and data types | - Enter the column names and data types | ||
- | - <font inherit/ | + | - Documentnamewith |
- | - <font inherit/ | + | - Statewith |
- Click **Next**. | - Click **Next**. | ||
- Click **Edit Script** | - Click **Edit Script** | ||
- Enter the following script into the editor | - Enter the following script into the editor | ||
- | - | + | |
< | < | ||
var artifacts = | var artifacts = | ||
Line 54: | Line 54: | ||
} | } | ||
} | } | ||
+ | |||
</ | </ | ||
- | - To finish the editing of the script, click **OK**. | + | |
- | | + | To finish the editing of the script, click **OK**. |
- | - //Note: The current metric | + | |
- | - Click **Finish** to continue the data set configuration and click **Preview Results** to show a preview of the results. | + | Enter a //Workspace Path //in the text input field. The //Workspace Path// |
+ | - //Note: The Workspace Path value is needed for the preview, if the script contains the statement // | ||
+ | - Click **Finish** | ||