Migration of Field Templates

In both Uniface 9 and Uniface 10, field templates are objects that are copied to create new fields. They are not inherited.

In Uniface 9, field templates were user-defined field definitions stored in an entity called UTPLFLD.DICT.

In Uniface 10, field templates are development objects that belong to a user-defined entity or component, which has its Purpose property set to P (Palette). Uniface provides a number of entity and component palettes containing field templates, but you can also define your own.

When importing Uniface 9 definitions, Uniface migrates Uniface 9 field templates to an entity palette called V9TEMPLATE.V9TEMPLATE. Once migrated, the UTPLFLD table is removed from the Repository.

Using Migrated Field Templates

To use your field templates in the Uniface IDE:

  1. Open a modeled entity or component.

  2. Use the U-Bar in the Resource Browser to browse and select V9TEMPLATE.

  3. Copy a template into the entity or component to create a new field using the template.

Editing Migrated Field Templates

If you want to edit or delete your migrated field templates, or change the name of the V9TEMPLATE entity:

  1. In the ide.asn file, set the logical ALLOW_BROWSE_TEMPLATES=1 , then start the Uniface IDE.

    This enables you to browse and open main development objects that have been defined as palettes.

  2. In the U-Bar, browse and select the entity V9TEMPLATE.V9TEMPLATE to open it in the Entity Editor, and make any desired changes.

    Field templates are not inherited, so any changes you make will only be applied in objects that are created after you have edited the template.

For more information, see Define Palettes and Templates.

Related Topics