File Maintenance Generator |
The File Maintenance Generator provides a simple seven-step process that, when completed, generates new NOMADS panels and/or Webster+ HTML pages as file maintenance panels, inquiry-only panels or non-file maintenance forms.
File maintenance panels provide the capability to browse, write, edit and delete records. Inquiry-only panels provide view-only access to records, as well as browsing capability. Non-file maintenance forms create informational/dashboard-like NOMADS panels and/or HTML pages. See Panel Contents.
Invoke the File Maintenance Generator either from the PxPlus IDE Launcher or NOMADS Library Object Selection. See Invoking File Maintenance Generator.
The File Maintenance Generator Steps include options to:
Enhanced Layout and Two-Column Layout
The File Maintenance Generator provides two panel layouts to choose from when creating a new file maintenance panel: the Enhanced Layout and the Two-Column Layout.
Prior to PxPlus 2024, only the Two-Column layout was available. Starting with PxPlus 2024, the Enhanced layout has been added, and it is now the default layout when creating a new file maintenance panel. This can be changed by setting the Layout option in Step 1: Definition.
See the tutorial How to Use the Enhanced Layout in File Maintenance Generator.
While either layout can be used to define folders, add data fields, add objects, etc., the Enhanced layout has distinct advantages. It provides the capability to format rows as true Full, Half, Third or Quarter sections and maintains these sections when generating NOMADS panels and Webster+ HTML pages. Panels can be up to four sections (columns) wide, giving you greater flexibility when adding controls to a panel.
With the Two-Column layout, NOMADS panels can have a maximum width of two columns, which are referred to as the Left Side and Right Side. Instead of treating each column as a true Half, each side is made as wide as it needs to be to accommodate the widest control. On the other hand, Webster+ HTML pages can have multiple sections placed across the page, depending on the HTML Section Size setting (accessed from the right-click menu).
(The File Maintenance Generator was added in PxPlus 2019.)
(The ability to create HTML pages using File Maintenance Generator was added in PxPlus 2021.)
(The Enhanced Layout was added in PxPlus 2024.)
This table describes each step:
Steps |
Description |
Define the file maintenance object:
(The Layout option was added in PxPlus 2024.) | |
Define the options for record update behavior, screen behavior and record messages. | |
Define the options for screen positioning, browse and action buttons, and panel header:
| |
Define the options for field and screen layout (i.e. prompt alignment, tab sequence, etc.), fonted text and full horizontal lines. | |
Define the options for a record query or a fixed Key segment only if the primary Key has more than one segment. | |
Define the layout for the file maintenance Main panel and any folder panels:
(The ability to add Smart List Boxes, Smart Charts, Images, Embedded Panels, HTML Short Codes, and Hyperlink Prompts was added in PxPlus 2021.) | |
Complete the File Maintenance Generator and generate the panels. Before panels are generated:
|
The generated file maintenance panels are based on data files defined in a PxPlus Data Dictionary and are built with controls representing the data fields in the Data Dictionary and Data Class Objects. The Data Dictionary also supplies key structure information to enable accessing and writing the data records. Element names, prompts, default values, validation rules, print formats, associated queries, help and control types are derived from the data dictionary and data class definitions.
Non-File Maintenance Forms, which do not use the standard file maintenance logic, can also be created. This provides the capability to generate informational/dashboard-like NOMADS panels and/or HTML pages.
(The ability to create Non-File Maintenance forms was added in PxPlus 2022.)
Once the file maintenance panels and/or HTML pages are generated, they can be easily modified by using the NOMADS Panel Designer or the HTML Editor. Alternatively, they can be regenerated by using the File Maintenance Generator. See Updating a Generated File Maintenance Panel.
(The ability to regenerate an existing file maintenance panel was added in PxPlus 2020.)
Invoking File Maintenance Generator
Enhanced Layout
Two-Column Layout