Validator

The Validator is available from the Debug menu.The Host Integrator Validator evaluates your host application model for errors. You must resolve all errors reported in the Validator before you can deploy it to a Host Integrator server. The Validator evaluates the following aspects of a host application model:

Variables

All variables must have a unique name and be complete.

Tables

Model tables are tested for the following:

Entities

All entities must be unique, and there must be a valid operation that is able to navigate to every entity in the model.

Note: A warning appears if navigation does not exist between an entity and its home entity.

Event Handlers

All event handlers must be up to date with the associated libraries. Click Rebuild on the Events menu to rebuild the event handler libraries.

Validating a model

  1. Open the model you want to validate in the Design Tool and from the Debug menu, select Validate.

    All imported models are automatically validated unless you clear that option on the Import tab of the Preferences dialog box.

  2. In Validator, select the model elements you want to evaluate. You can evaluate Variables, Tables, Entities, and Event Handlers.
  3. Click Validate. When complete, a validation report appears in the results box.

Validation Report

The validation report details any problems found in your host application model that would prevent it from being stamped by the Host Integrator as deployable. The report lists any problems found with model variables, entities, tables, procedures, or paths. Before you can deploy your model to a Host Integrator Server, the Validator must report no problems.

Interpreting Validation Reports

If no errors are found in your host application model, the Validation Report is empty. If errors are found, the following symbols appear in the validation report:

Error. An error that prevents the Design Tool from authenticating this model was detected.
Caution. Alerts you to a possible error in your model. The Design Tool will authenticate a model that has cautions, but no errors.

The report is organized as a tree structure with variables, entities, tables, and paths at the top level, with any sub-categories of these model elements appearing below them, each describing the problem detected.

Related Topics
Bullet Troubleshooting
Bullet Deploying models
Bullet Debugging models