The application
definition type represents the mobile application within the project
and all definitions for the application are its descendents. The
attributes of the application definition are those that affect application-level behaviors.
These include the application name and version, the appearance of
built-in Client screens, login and password settings, application-wide
screen and user interface behaviors, and other similar items. The
application definition is the single root definition in the application
hierarchy and as such has no parent definition.
When
a new application project is created in the Agentry
Editor,
an application definition is automatically created. Its attributes
are set to defaults that should be reviewed thoroughly early in
the development process. These attributes can affect security, appearance,
and numerous other behaviors of the application.
Application Styles Attributes
The attributes
listed in the Application Styles tab define how styles are to be
applied to all components of the application’s user interface. These
style settings may be overridden at lower levels in the application’s structure.
The style settings here also impact what styles are applied to the Agentry
Client’s
built in screens and dialogs, such as those for complex table searches,
the transmit dialog, and others. For all style attributes, the option
“--Default--” will default to the operating system’s default font
and color options.
Screen Styles- Tabs: The
style to apply to the tab controls representing each screen within
an object screen set. This attribute has no effect on screens within
a transaction or fetch screen set.
- Buttons: The style to apply to all button definitions
on all application screens. This includes buttons displayed on built-in Agentry
Client screens
as well as buttons within screen definitions.
- Focused Buttons: The style to apply to the button that
currently has the focus. This includes buttons displayed on built-in Agentry
Client screens
as well as buttons within screen definitions.
Detail
Screen Styles- Screen: The style to apply to all
detail screens defined within the application. This will affect
all portions of the screen not displaying a field or button.
- Fields: The style to apply to all fields displayed on
a detail screen.
- Focused Fields: The style to apply to the detail screen
field that currently has the focus.
- Read-Only Fields: The style to apply to a detail screen
field defined to be read-only. If not specified, the Fields style
is applied.
- Hyperlinks: The style to apply to detail screen field
labels defined to be hyperlinks.
- In Progress Edit Screens: The style to apply to screens
in which changes are currently being made and have not yet been
applied. This affects screens displayed in List Tile View and Tile
Edit fields.
List Screen Styles- Screen: The
style to apply to all list screens as a whole. This will affect
all portions of the screen not displaying a list, header label,
detail pane, or button.
- Header Label: The style to apply to all list screen header
labels. If no header label is defined this attribute has no affect
on the screen.
- Column Labels: The style to apply to the column labels
on the screen’s list control. This style is applied to the column
labels of any screen containing a list control, including both built-in Agentry
Client screens
as well as list screen definitions, and list view field definitions.
- Rows: The style to apply to all rows on a list screen.
The Hyperlinks optional style will override the Rows style
for cells with hyperlinks. This style is applied to the list items
of any screen containing a list control, including built-in Agentry
Client screens,
list screen definitions, and list view field definitions.
- Alternate Rows: The style to apply to every other row
in a list, beginning with the second row. The Hyperlinks optional
style will override the Alternate Rows style for every other
row where there are cells containing hyperlinks.
- Highlight Rows: The style to apply to a row for the purposes
of drawing attention to that row. This style attribute should not
be set at the application level. The platform and list screen definition types
both contain a Highlight Rows attribute that should be used.
- Selected Rows: The style to apply to the row or rows
currently selected by the user in the list control. The optional Hyperlink style
will be applied to any cells within the selected row containing
a hyperlink.
- Selected No Focus Row: The style to apply to the row
or rows currently selected by the user in the list control, when
the input focus is set to some control other than the list control.
The optional Hyperlink style will be applied to any cells
within the selected row containing a hyperlink.
- Detail Pane: The style to apply to both the foreground
(text) and background of a list screen’s detail pane. If no detail
pane is defined this attribute has no effect on the screen.
Application Security Attributes
The
attributes in this section control overall security related to items
such as failed login attempts, locking the user out of the client
application after failing validation, user ID and password rules,
and idle timeout settings.
User Settings- Login: This
attribute specifies whether or not users are required to perform
a transmit every time the Agentry
Client application
is started and the user logs in. Note that setting this option to
true requires an available network connection for the client device
and users will be required to perform a successful transmit before
the user can use the client application.
- Login Attempts: This attribute specifies the maximum
number of failed login attempts that may occur before locking the
user out of the application. “Unlimited” will never lock the user
out. A failed login will occur if the user enters an incorrect password
for the entered User ID when not required to connect to the Server
during login; or if the user fails user authentication when the
Login attribute is set to true and the number of failed attempts
exceeds the value entered here. The resulting behavior of locking
out a user is defined in the Lockout Level attribute described below.
- Lockout Level: This attribute specifies the action to
take when a user is to be locked out of the Agentry
Client.
This may occur as a result of exceeding the defined Login Attempts,
or based on failed attempts to authenticate the user against the
back end system. The four possible settings for this attribute are:
- Critical: This lockout level specifies that the entire Agentry
Client be
reset. This includes the removal of all production data and all
application data, as well as removing the stored user ID and password.
Users will be required to log into the Agentry
Client application
and perform a successful transmit with the Agentry Server before
being allowed to access the Agentry
Client application.
- Severe: The severe lockout level specifies that all module-level
production data, i.e. object instances and pending transactions,
be removed from the Agentry
Client application.
Complex table and data table records will not be removed. The user
will be required to perform a successful transmit with the Agentry
Server before being allowed to access the client application.
- Medium: This lockout level specifies the Agentry
Client will
exit and the user will be required to log into the Agentry
Client and
perform a successful transmit with the Agentry Server before being
allowed to access the client application. No data is removed from
the application.
- None: This setting indicates that no lockout behavior
should take place. This setting will result in any lockout events
being ignored by the Agentry
Client.
- Client Database will be encrypted: When true, this attribute
specifies the database in which all client data is stored on the
client device, including both production data and application data, will
be encrypted.
User ID- Case: This
attribute specifies the case in which the user ID should be entered
and will be stored. The options are mixed case, uppercase, and lowercase.
Note that mixed case does not require a mixed case user ID, but
rather allows for variable case. User IDs may then be in all upper,
all lower, or mixed case.
- Scan User ID: This attribute specifies whether or not
users can enter user IDs via the device’s barcode scanner. This
attribute does not require the ID to be scanned, but only allows
for the option. This attribute has no effect on Agentry
Clients
running on devices not equipped with a barcode scanner.
Password- Password Change: This attribute specifies whether or
not users can initiate password changes on the Agentry
Client.
When true, the users will be able to change the password based on responses
from the back end system indicating their passwords are about to
expire or have expired. Users are required to enter the old password
and the new one to change passwords. Note that enabling this behavior
requires the implementation of logic to process a password change
for the user in the back end system.
- Scan Password: This attribute specifies whether or not
users can enter passwords via the device’s barcode scanner. This
attribute does not require the password to be scanned, but only allows
for the option. This attribute has no effect on Agentry
Clients
running on devices not equipped with a barcode scanner.
Idle
Timeout- Timeout: This attribute specifies whether
or not to require users to re-enter their user ID and password if
the device is left idle for a defined duration of time. The duration
is set as a part of this attribute. Also an option is whether or
not the user ID should be populated automatically.