Wiki source code of 05. Creating Pages Report Templates
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="lead" %) | ||
| 2 | Learn more about creating Pages report templates speed up the report creation process and ensure reports have a consistent look and feel. | ||
| 3 | |||
| 4 | Templates makes building Pages reports quicker and your finished reports visually more consistent, by removing the need to repeat time-consuming jobs and allowing you to reuse styled elements. | ||
| 5 | |||
| 6 | Pages’ templating system allows you to set a previously saved report as a template that you, or anyone with permissions to access that report, can use again as the basis of other reports. It also allows you to save & share styled components – for example, text boxes styled to look like buttons – to be reused by you or others with appropriate permissions. | ||
| 7 | |||
| 8 | |||
| 9 | == What Should Your Template Include? == | ||
| 10 | |||
| 11 | There’s no fixed answer to this question. But your template should make future report builds quicker, easier, and visually more consistent. To that end, your template should include as many or as few elements needed to achieve this. | ||
| 12 | |||
| 13 | Common page layouts elements: | ||
| 14 | |||
| 15 | * Front cover | ||
| 16 | * High-level dashboard | ||
| 17 | * Lower-level detail pages. | ||
| 18 | |||
| 19 | Common design elements: | ||
| 20 | |||
| 21 | * Brand logo | ||
| 22 | * Page titles | ||
| 23 | * Buttons | ||
| 24 | * Text areas | ||
| 25 | |||
| 26 | (% class="box" %) | ||
| 27 | ((( | ||
| 28 | As you will want to reuse the template across various reports, you’ll unlikely to want to include any reporting components. | ||
| 29 | ))) | ||
| 30 | |||
| 31 | |||
| 32 | == Saving a Template == | ||
| 33 | |||
| 34 | 1. Build the Pages report that save as a template. | ||
| 35 | 1. Click the **Save** button on the top menu bar. This displays the Save Report dialog. | ||
| 36 | 1. Complete the required fields then click the **Save** button. | ||
| 37 | |||
| 38 | (% style="margin-left:36.0pt" %) | ||
| 39 | If prompted, click **OK** to confirm that you want to overwrite the previously saved version of your report. | ||
| 40 | |||
| 41 | (% start="4" %) | ||
| 42 | 1. Click **LOAD** on the top-left menu bar. This displays the Report dialog. | ||
| 43 | 1. Navigate to your saved report then click the gear-wheel settings icon, in the far-right-hand column, for the report. This displays a drop-down menu. | ||
| 44 | 1. Select the **Toggle Template** option from the drop-down menu. | ||
| 45 | 1. Click the **Close** button to close the dialog. | ||
| 46 | |||
| 47 | == == | ||
| 48 | |||
| 49 | == Updating a Template == | ||
| 50 | |||
| 51 | 1. Click LOAD button on the top-left menu bar. This displays the Report dialog. | ||
| 52 | 1. Navigate to your saved report then click its name. This loads the report in run mode. | ||
| 53 | 1. Click the Edit button on the top menu bar. This switches your report into edit mode. | ||
| 54 | 1. Make the changes to your template. | ||
| 55 | 1. Click the **Save** button on the top menu bar. This displays a save dialog. | ||
| 56 | 1. Click the Overwrite button to save the template. | ||
| 57 | |||
| 58 | == == | ||
| 59 | |||
| 60 | == Using a Template as the Basis of a New Report == | ||
| 61 | |||
| 62 | To use a template as the basis of a new Pages report: | ||
| 63 | |||
| 64 | 1. Click the **New Report** button. This displays a pop-up menu. | ||
| 65 | 1. Select the template you want to use, from the pop-up menu. | ||
| 66 | |||
| 67 | == == | ||
| 68 | |||
| 69 | == Creating Reuseable Components == | ||
| 70 | |||
| 71 | Pages also allows you to save text components to be reused in other reports and by other users, if they have appropriate access rights. | ||
| 72 | |||
| 73 | This enables you to create & share custom buttons, logos, copyright notices etc for other users to add to their page reports. | ||
| 74 | |||
| 75 | 1. Add a text component to your workspace and style as required. | ||
| 76 | 1. Select the text element. | ||
| 77 | 1. Click the Save icon on the Dynamic Toolbar. This displays the Save Report dialog. | ||
| 78 | 1. Give the component a meaningful name, select the location you’d like save the component, then click the Save button. | ||
| 79 | 1. Click OK when prompted. | ||
| 80 | |||
| 81 | |||
| 82 | == Adding a Saved Component to Your Report == | ||
| 83 | |||
| 84 | 1. Click then drag the Custom icon from the Dynamic Toolbar onto the Workspace. This displays the Reports dialog. | ||
| 85 | 1. Click the checkbox next to the component that you want to add to the report. This adds the component to your report. | ||
| 86 | 1. Resize and reposition the component as required. |