Evolution entity utility
| Author | Peter Lammersma |
|---|---|
| Date submitted |
|
| Category | V10 IDE |
| Sample file |
Description
This utility can be added to the Uniface IDE as a User Defined Worksheet.
It allow the user of the IDE to view all components that use a specific entity. From this utility the components can be opened in the component editor or compiled without opening the component. Also all components can be compiled in one single action. The result of the compile is shown.
The utility also shows all relationships the specific entities has. Regardless if this entity is the one or the many.
How to install?
- Copy the evo_utilities.uar file to the working directory of your project environment.
- Modify the assignmentfile of your IDE:
- add the location of evo_utilities.uar to the [RESOURCES] section;
- add 'EVO_WSH_ENT' to the IDE_DEFINE_WORKSHEETS_ENT logical.
- Delete the ide_state.zip file
In my ide.asn this leads to:
[RESOURCES] evo_utilities.uar [LOGICALS] IDE_DEFINE_WORKSHEETS_ENT = EVO_WSH_ENT
How to use this utility?
After installation the entity editor has a new tab: 'Entity utilities'.
As soon as you open an entity in the IDE you should see this tab.

This version of the utility has 3 parts:
- Header. This part shows some information about the selected entity.
- Components. Shows all components that use this entity or one of the subtypes of it.
- Relationships. Shows all relationships that this entity has, regardless the position in this relationship.
Refresh the content
Uniface refreshes the content automatically after a modification in the entity. To make sure to include changes in other components or relationships use the refresh button in the header.
Compile a component
The component can be compiled without opening them. Just push the ‘Compile’ button.

It is also possible to select multiple records. The ‘compile selection’ button will compile all selected records.
The result of the compiler is shown next to the ‘Compile’ button:
- Ok (green background) means the component is compiled without errors
- Error (red background) means the compiler found errors
Opening the component
Just click the ‘Open’ button and the component will be opened in a new editor.
Open the relationship
This utility shows all relationships this entity has.
Just click on the ‘Open relationship’ button to open the relationship in a new editor.

FAQ
I don’t see the tab. What did I do wrong?
It takes just a few steps to install the worksheet, but on every step it can go wrong. Please check:
- Did you make all the modifications in the correct assignmentfile? Please use the assignmentfile that is mentioned in the shortcut to your IDE.
- Check the path to the evo_utilities.uar file.
- Did you add the worksheet to the right logical? It must be added to the IDE_DEFINE_WORKSHEETS_ENT logical.
- Did you delete the ide_state.zip file?
I see old info in the utility
Press the ‘refresh’ button in the top on the left.
