Report Template Design

Report Template Design helps Report Template Administrator create report templates according to business requirements and standards. Use this app to define document structures for generating customer-specific documents with the Report Generation.

This page discusses:



Main Capabilities
  • Configure data types for use in template design.
  • Create parameters and configure access methods to retrieve information.
  • Design template structures using elements such as tables, lists, and sections.
  • Customize report logic using OTScript methods and conditions.
  • Filter template elements to manage report content.
  • Preview reports to validate generated content.
  • Import and export report templates to manage template definitions.
Related Apps
  • Report Generation: Generate documents using report templates designed in Report Template Design.
  • Functional & Logical Design, Electrical Systems Design: Create logical references, components, cables, wires, and shields for use in Report Template Design.
  • Piping & Tubing Systems Design, HVAC Systems Design: Create logical references, systems, and piping groups for use in Report Template Design.

Main Workflow



Add Template Parameters

From the Parameters area of the Properties tab, add input parameters such as a Specifications Folder to define data sources required by the template.

Related topics: Adding Parameters to Templates


Build Template Structure

From the Structure tab, insert structure elements such as Section,header cells, tables, lists, and list items to build template structure.

Related topics: Inserting Structure Elements


Add and Configure Data

From the Data tab, expand variables such as spf and their categories, and drag methods to the work area to retrieve data from the database.

Related topics: Inserting Data


Definining and Modifying Properties

Define and customize template structure using the Properties, Structure, and Data tabs. Rename parameters and variables, and apply formatting options to improve report appearance.

Related topics: Defining and Modifying Properties


Apply OTScript Code in Templates

From the OTScript tab, add OTScript code to customize template behavior, process data, and control dynamic report generation.

Related topics: Using OTScript Code in Templates


Filter Template Elements

Apply conditional instructions, configuration/model filter methods, and advanced filter parameters to filter elements analyzed in templates.

Related topics: Working with Filters


Preview Report Output

From the Preview tab, visualize the current template report, evaluate parameters and variables, and display tables and lists in HTML format.

Related topics: Previewing Reports

User Interface



Templates Page
Displays available templates and provides commands to create, import, and manage templates. It contains the following User Interface components:
  • Toolbar: Provides commands to create, add, import, and manage templates.
  • Table View: Displays available templates and their properties.
  • Shortcut Menu: Provides access to template management commands such as Information, Duplicate, Duplicate, Export, Delete, New Revision, Revisions, and Maturity.
For more information, see Templates Page.
Top Bar

Provides commands to manage template editing, including :

  • Save: Saves the template to the database.
  • Undo: Reverses the last action performed on an element.
  • Redo: Restores a previously undone action.
For more information, see Toolbar
Template Tab

Provides the main template editing environment and contains:

  • Work Area: Displays the structure of the template being created or modified.
  • Minimap: Provides an overview of the template structure and highlights errors with a red bar.
  • Statistics: Displays template information such as size, loaded data model, and number of template nodes.
For more information, see Template Editor Commands
Preview and OTScript Tab

Provide tools to preview the template output and define custom logic:

  • Preview Tab: Displays an intermediate preview of the template during construction
  • OTScript Tab: Displays custom logic used to access and manipulate data.
For more information, see Previewing a Reportand Defining OTScript Methods in Templates
Structure and Data Tab

Provide elements and data required to build templates:

  • Structures Tab: Displays available elements for creating report structures.
  • Data List: Displays available data and methods to access database information.
For more information, see About Structure Elements Tab and About Data Tab
Properties Tab

Displays parameters and properties of the selected structure and data elements.

For more information, see Adding Parameters to Templates.

Additional Features



Merge Table Cells

Report Template Design supports vertical and horizontal cell merging to customize report table layouts. This capability helps users create tables that better comply with customer-specific formats and regulatory requirements.

Related topics: Merging Table Cells


Chart Styles for Tables

Report Template Design supports chart styles for tables, allowing table data to be represented as charts in generated report files based on predefined keyword sets, with or without legends. This capability helps users enhance data visualization and present report information in a more effective format.

Related topics: Chart Styles for Tables

Terminology

Template
A structure that defines the layout and content of a report.
Structure Element
Elements used to build the report structure, such as sections, tables, and lists.
Parameter
An input data type that serves as the entry point for a template.
Properties Tab
Tab displaying parameters and properties.
Work Area
Area where template structures are created and edited.
Loop
A structure that iterates over a collection of data.
OTScript
A high-level, declarative, and object-oriented programming language used to create methods and define conditions.
Advanced Filter Parameter

Parameter used with advanced filtering.