Module-Level User Interface Definitions Overview
The module level of an Agentry application project includes definitions for both data and user interface encapsulation. The user interface focused definitions encapsulate the screens and behaviors that expose the application functionality to the mobile users on the Agentry Client, but do not have direct impact on the behavior or functionality of the application as it is defined for the Agentry Server.
The user interface definitions that encompass the screens that appear on the Client are the most robust. The structure of these definition types is deeper than any of the other module-level definitions within the application.
The figure below illustrates the module-level user interface definitions and their child and descendent definition types, which includes definitions that encapsulate the screens and screen controls that appear on the Agentry Client, and the behaviors, functionality, and other similar user interface-related application components. For discussion purposes only, the data definitions within the module are not included in the illustration. Within an application project structure, all child definitions exist at the module level with no distinction made between them in the Agentry Editor as to whether they are data or user interface definitions.
The rule definition type within the module crosses the line between a user interface and data definition. It is organized here with the user interface definition types, as a large portion of the rules written for a module affect this aspect of the behavior, but rules can also be written and used within data definition types. Rule definition is described in its own section.
The screen set definition type is a deep structure that includes several levels of child definitions. Although they are shown separately in the module structure, the list screen and detail screen items are both the same definition type, screen. A screen is a child definition to the screen set and, when defined, is either a list or detail screen. Each screen type has distinct child definitions.
The field child definition to the detail screen can have child definitions of its own. This is dependent on the type of field defined, or the field’s “edit type.” The edit type of a field impacts the field's appearance and behavior on the Agentry Client. Certain field edit types include child definitions that support their intended behaviors.
Overall, the user interface definitions within the module display, expose, and provide the means to capture data to and from mobile users. User interface definitions can also show data that is stored in the application level definition's data table and complex table.