In this section you see how to adjust the width of a selected column and how to ensure that the report has a title. Also, you place a report in another component, and in doing so you see how the PDF Layout’s title property comes into play. You also see what is probably the best method for generating reports automatically by using a schedule.
2 |
In the Module Contents pane, click the drop-down list, select Renderers, and click Add . |
3 |
4 |
5 |
Click OK. |
6 |
7 |
1 |
2 |
Expand the Columns node and add a column with the following settings: |
• |
Value: Context |
• |
ID: CPU User Time |
3 |
Add the column to the CPU Utilization group. |
1 |
2 |
Select the Show Advanced Properties check box. |
3 |
4 |
Expand the column’s Width node. In the Sizing row, in the Value column, click Edit , and choose Specified from the list that appears. |
5 |
6 |
If you follow exactly the above procedures , you may notice that even though you set the table’s title to Utilization Summary - Hosts, appear when you generated the PDF. The situation is quite similar to the point raised in Additional Activities in Tutorial 3. Causing a title to appear is a two-step process, and defining the title’s content is only the first step. You also have to configure the parent component to show the title.
1 |
2 |
3 |
In the Properties dialog box that appears, on the General tab, select the Show title check box, and click Save. |
4 |
Edit the PDF Layout component and add an additional purpose by selecting its Pagelet check box, and then add it to row 0 and column 0 of a Grid component purposed as a Dashboard.
As part of adding the PDF Layout to the grid, add title and pageNumber as optional context inputs and give them default values. View the report and note that the title you set in the PDF Layout’s Additional Context is displayed.
When the construction of the Foglight™ report is finished and it is giving you the result you want, you can schedule a report to run at any time. Creating a report schedule is a two-step process.
First, create a schedule for performing an action that as yet has not been specified.
1 |
2 |
On the Reports page, click Run a Report. |
3 |
In the Run Report dialog box, on the All Templates tab, in the Templates column, locate and select the Host Summary Report T5, and click Next. |
5 |
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center