eaUtils FAQ section
This page provides a collection of frequently asked questions about eaUtils Sparx EA add'in.
Question 1: using the Sort By features don't match what I expected. e.g. sorting elements by name led to "class1, class2, class3, class1 - copy", whereas class1 - copy should have been after class1. What explains this result?
Answer: When using any eaUtils package browser sorting feature, such as Sort By Name, note that "Identify and sort integers within string values" setting is by default enabled. This setting will force eaUtils to look for integers values that are defined between matching prefix and/or suffix values, and sort these integer values accordingly. Consequently "Class1 - copy" is considered outside the group class1, class2, class3, hence put after.
Note that the interest to have this setting is to produce the sorting list "ACTIVITY1,ACTIVITY2, ACTIVITY10, ACTIVITY21" where Sparx EA default sorting leads to "ACTIVITY1, ACTIVITY10, ACTIVITY2, ACTIVITY21".
Answer: eaUtils doesn't delete any element ro diagram in your EA project.
- eaUtils sorting features update elements "tree position" values (detailed information is available here). This field is solely used by EA to determine in what order it needs to be displayed in the containing package or element.
- eaUtils BreadCrumb Trail features can create hyperlinks objects on the active diagram.
- eaUtils Generate Alias feature can modify elements Alias field values
Answer: eaUtils Sort by Name feature only uses the elements' name to define the new sorting order. When elements share the same name, the additional criteria that applies is the creation date (most recent to the oldest). This is exactly what Sparx EA uses by default.
Answer: eaUtils has been tested with Enterprise Architect versions 14, 13.5, 13, 12.1, 12, 11 and 11.1 (some users successfully ran it on EA 7.5).
Answer: eaUtils has been designed to work with EA supported DBMSs. It has been tested with MySQL and PostgreSQL, both on Windows and Linux OS. It should also be compatible with MS SQL Server and Oracle, although they haven't been tested yet. Any feedback on running eaUtils with Oracle or SQL Server is welcome!
Important - a common issue with Sparx Enterprise Architect addins, extensions and scripts is that it can take longer to run, compared with a local EAP file. So please bear in mind to wait for a confirmation window to be displayed whilst eaUtils is running prior to continue using Enterprise Architect.
Answer: eaUtils doesn't support Package sorting as they're managed separately from Elements. It has been identified as a future feature.