Report Editor

Prerequisites

Basics

The Report Editor is a source code editing tool in FieldFX Back Office.

Use the Report Editor to edit XML templates for PDF reports.

Getting There

How it Works

Basics

The Report Editor has the look and feel of a standard text editor.

Screenshot of the code editor with a file open
Figure 1. The Report Editor looks and functions like a text editor with line numbers visible for reference

You can edit code without having to select Edit.

Use the options on the toolbar to save your work, undo your last action, or redo your last action.

Screenshot of the report editor’s menu options
Figure 2. The Report Editor has options for saving the file and either undoing or redoing the last action

Autocomplete

  • The Autocomplete feature suggests possible entries while you type.

  • Select a suggestion to insert that item.

  • This saves you time and ensures you only add valid XML elements and attributes.

Real-Time Validation

  • The real-time validation feature analyzes your template while you type and highlights potential issues in red.

  • This helps prevent mistakes and lets you know where you need to make corrections.

Folding

  • The Folding feature gives you the ability to hide blocks of code and simplify what currently displays.

  • You can hide a block of code by clicking the arrow next to the line number.

  • If you select to hide an XML element that spans multiple lines, everything inside the tags for that element gets hidden.

  • If you select to hide an XML element that only spans a single line, only the content inside the tags on that line gets hidden.