Download presentation
Presentation is loading. Please wait.
Published bySylvia Riley Modified over 9 years ago
1
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Creating RTF Templates by Using Template Builder
2
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 2 Objectives After completing this lesson, you should be able to: Describe the functions and features of Template Builder Describe how to install Template Builder Create RTF templates for sample XML report data Create RTF templates by using Basic and Form Field methods Create and publish RTF templates for BI Publisher reports Insert tables, forms, charts, and other components into RTF templates Preview the results Create BI Publisher reports by using Template Builder Work with advanced RTF template techniques
3
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 3 Introducing Template Builder Is an extension to MS Word (2003 or later) that simplifies RTF template creation for BI Publisher reports Enables you to perform the following tasks: –Insert data fields –Insert data-driven tables, forms, and charts –Preview your template with sample XML data –Browse and update the content of form fields –Extract boilerplate text into an XML Localization Interchange File Format (XLIFF) translation file and test translations
4
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 4 Installing Template Builder Template Builder is installed from within BI Publisher.
5
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 5
6
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 6 Exploring the Template Builder Interface Template Builder consists of the BI Publisher menu bar, which has options and subordinate menus grouped into the following six menus: Online Load Data Insert Preview Tools Options
7
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 7 BI Publisher Menus: Online
8
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 8 BI Publisher Menus: Online Open Template Dialog Box
9
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 9 BI Publisher Menus: Load Data Use the Load Data menu to: Load Sample XML data Load an XML schema
10
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 10 BI Publisher Menus: Insert The Insert menu offers easy-to-use dialog boxes and wizards for inserting: Fields Charts Tables (via a wizard) Tables or forms Repeating groups Pivot tables Conditional formatting Conditional regions
11
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 11
12
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 12 BI Publisher Menus: Preview and Tools Preview –PDF –HTML –RTF –PowerPoint –Excel (MHTML) –Excel2000 Tools –Field Browser –Validate Template –Translation –Export
13
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 13
14
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 14 BI Publisher Menus: Options
15
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 15
16
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 16
17
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 17 Explaining the Relationship Between RTF and XML Sample Payables Invoice Register A sample XML file that is used as input to a Payables Invoice Register report template Data fields such as Invoice Number and Supplier— most fields repeat
18
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 18
19
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 19 Creating an RTF Template from a Sample 1.Create an RTF template file from a sample. 2.Load the sample data. 3.Insert fields. 4.Preview the data. 5.Insert a table. 6.View the results.
20
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 20 Step 1: Creating an RTF Template from a Sample
21
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 21 Step 2: Loading the Sample XML Data 1 2 3
22
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 22 Step 3: Inserting Fields 1 2 3 Inserted form fields turn gray. 4 Right-click a field to open the shortcut menu.
23
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 23
24
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 24 Step 4: Previewing Data From the Preview menu, select a format to view data. PDF RTF
25
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 25 Step 5: Inserting a Table 1 2 3
26
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 26 Step 5: Inserting a Table Reorder Buttons 4 Shuttle Buttons 5
27
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 27 Step 5: Inserting a Table 7 6 A completed table
28
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 28 Step 6: Viewing the Results The resulting table should look like the following:
29
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 29 Changing Field Properties
30
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 30 Previewing the Table Data
31
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 31 Practices 6-1: Overview These practices cover the following: Building an RTF template from a sample file in disconnected mode Adding a table of data by using Table Wizard Loading XML sample data for the template Previewing the report Changing field properties Saving the report
32
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 32 BI Publisher Charts
33
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 33 Adding a Chart to an RTF Template 1.Insert a chart. 2.Define the chart. 3.Preview the chart.
34
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 34 Step 1: Inserting a Chart
35
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 35
36
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 36 Step 2: Defining a Chart
37
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 37 Step 3: Previewing the Chart
38
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 38 Examining Pivot Table Support in Template Builder Properties Pane Preview
39
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 39 Examining Pivot Table Support in Template Builder: Results A completed pivot table template A pivot table previewed as PDF output
40
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 40 Practice 6-2: Overview This practice covers the following: Inserting a chart into the RTF template Defining the chart in the RTF template Previewing the chart Adding a pivot table to the RTF template Previewing the pivot table
41
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 41 Designing an RTF Template for a BI Publisher Report 1.Log in to BI Publisher in MS Word. 2.Open the BI Publisher report (to load the XML data). 3.Define an RTF template: a.Add a table. b.Add a chart. 4.Preview the data in the report by using the template. 5.Upload the RTF template to BI Publisher Enterprise Server, and view the data.
42
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 42 Step 1: Logging In to BI Publisher
43
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 43 Step 2: Opening the BI Publisher Report
44
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 44 Step 3a: Defining the RTF Template: Add a Table 1 2
45
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 45 Step 3a: Defining the RTF Template: Add a Table 3 4
46
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 46 Step 3a: Defining the RTF Template: Add a Table 5 A completed table
47
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 47 Step 3b: Defining the RTF Template: Add a Chart
48
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 48 Step 4: Previewing the Data by Using the Template
49
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 49 Step 5: Uploading the Template and Viewing Data
50
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 50 Supported MS Word Native Formatting Features Alignment Fonts, background, text colors Table formats Clip art and images Headers, footers, and watermarks Date fields
51
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 51 Creating a BI Publisher Report by Using Template Builder
52
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 52 Describing the Methods for Creating RTF Templates BI Publisher supports the following two methods to add code: Basic RTF Form Field
53
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 53 Exploring the Basic Method: Example
54
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 54 Exploring the Form Field Method: Example—Form Fields in RTF Templates Form fields are Word objects that enable you to refer to other data. BI Publisher uses form fields to: –Reference data fields from the report definition –Embed instructions that control how data fields are laid out in the table
55
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 55 Exploring the Form Field Method: Example— Insert a Field 1 Insert Field Button 2 3 4 5
56
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 56 Exploring the Form Field Method: Example— Insert a Table 1 2 The Form format looks different than the Table format.
57
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 57 Exploring the Form Field Method: Example— Insert a Table 1 2
58
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 58 Exploring the Form Field Method: Example— Completed Template The completed template should look like the following:
59
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 59 Exploring the Form Field Method: Example— Previewing the Report
60
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 60 Exploring Advanced RTF Template Techniques Data handling: –Grouping –Sorting Running totals Page design and layout: –Page and section breaks –Page numbers –Formatting dates –Formatting numbers Conditional formatting Page-level calculations Background and watermarks Graphing, drawing, shapes, and so on
61
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 61 Performing Grouping in the Table Wizard Grouping at multiple levels Group above Group left
62
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 62 Performing Sorting in the Table Wizard Sorting at multiple levels Sorted first by Application Name and then by Start Date
63
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 63 Adding Running Totals in the Table Wizard Select the numeric field. Click Running Total. Make your selections. 1 2 3
64
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 64 Adding Page and Section Breaks in the Table Wizard
65
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 65 Practice 6-3: Overview This practice covers the following: Opening a BI Publisher report Adding a table to a BI Publisher report –Grouping –Sorting –Adding a running total –Adding a section break Adding a chart to a BI Publisher report Previewing the report data in Template Builder Uploading the RTF template to the BI Publisher Server Viewing the report in BI Publisher Enterprise Edition
66
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 66 Adding Page Numbers A sample template with default page numbering Select the page number style. An edited report
67
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 67 Formatting Dates Select Date from the drop-down list and select a format. Click Word Properties.
68
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 68
69
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 69 Formatting Numbers
70
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 70
71
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 71 Applying Conditional Formats Select a data column… …set the condition… …and determine the format.
72
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 72 Applying Conditional Formats: Results The completed dialog box Conditional formatting applied to the PDF output The transaction amount reflects the conditional formatting by displaying a “C.”
73
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 73 Creating a Conditional Region The completed dialog box A conditional region applied to the PDF output
74
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 74 Adding Page-Level Calculations The following types of page-level calculations are supported: –Page totals –Brought-forward or carried-forward totals –Running totals These features are performed by the PDF-formatting layer; therefore, they are not available for other outputs types, such as HTML, RTF, or Excel.
75
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 75 Adding Page-Level Calculations PT = add-page- total for SALARY show-page-total with mask
76
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 76 Brought-Forward and Carried-Forward Totals show-brought- forward with mask show-carry- forward with mask
77
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 77
78
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 78 Adding Backgrounds and Watermarks BI Publisher supports the following: Adding a color as background in MS Word Adding text or image watermarks (in MS Word 2002 or later) Watermark and background color added
79
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 79 Drawings and Shapes The following AutoShape categories are supported: Lines–straight, arrows, connectors, curve, free-form, and scribble Connectors–only straight connectors Basic shapes–all shapes Block arrows–all arrows Flowchart–all objects Stars and banners–all objects Callouts–all callouts except “line” callouts Other supported graphic features: Freehand drawing Hyperlinks Layering MS equation Organization chart WordArt
80
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 80 Summary In this lesson, you should have learned how to: Describe the functions and features of Template Builder Describe how to install Template Builder Create RTF templates for sample XML report data Create RTF templates by using Basic and Form Field methods Create and publish RTF templates for BI Publisher reports Insert tables, forms, charts, and other components into RTF templates Preview the results Create BI Publisher reports by using Template Builder Work with advanced RTF template techniques
81
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 81 Practices 6-4 and 6-5: Overview These practices cover the following: Opening a BI Publisher report in connected mode Creating an RTF template by using the form field method –Formatting a date –Formatting a number –Adding conditional formatting Previewing the report data in Template Builder Opening a predefined RTF template and loading XML data Reviewing page-level calculations (page totals and Brought forward and Carry Forward totals)
82
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 82 Quiz: Overview This quiz examines your knowledge of the concepts discussed in the lesson.
83
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 83 Quiz You can work with the Template Builder online to connect to BI Publisher Server and generate templates for reports, or you can work with it offline to create templates based on sample XML data or files. a.True b.False
84
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 84 Quiz You use the Insert menu to insert PDFs into your RTF template. a.True b.False
85
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 85 Quiz You use the Options menu to perform a variety of tasks. Select all that apply. a.Change the Locale. b.Specify options that influence the Preview functionality of the Template Builder. c.Specify options that influence how the Template Builder generates tables and forms.
86
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 86 Quiz You can load sample XML offline. a.True b.False
87
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 87 Quiz Template Builder allows you to apply conditional formats to table data. a.True b.False
88
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 6 - 88
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.