Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: AJuul on May 07, 2020, 04:13:52 pm
-
Hello,
I'm attempting to build a report on how our system conforms to a set of functional requirements. The requirements are bound to solutions by relationships in the relationship matrix with notes on how the requirement is fulfilled.
In the report, I'm presenting these relationships using the "Structural Outgoing Relationship" fragment.
The document generates just fine, however the list of the requirements seem to be unsorted. Snip from the report below. The words on the red lines are the values I expect to be sorted.
(https://imagizer.imageshack.com/img923/6361/0E3Zqk.png)
If it's any help, the functional requirements are placed in separate packages, but this does not seem to have any effect on how the list is sorted.
(https://imagizer.imageshack.com/img922/3633/nUZrZe.png)
Does anyone have any idea if it's possible to sort items in Outgoing Structural Relationships?
-
The only way I know is using an SQL fragment.
Might seem daunting at first, but once you get the hang of it you often prefer it to the standard templates because it allows for much more freedom and customization.
Geert
-
Hi,
I had a quick look and I don't think so.
You can't edit the built-in templates, but you can make copies of them and edit those.
The fragment in question only uses sections and fields, ie no script or custom SQL query, and AFAIK you can't specify the sorting order for connectors without either a script or a query.
In general, the built-in templates are pretty much useless. You can analyze them to learn how to create your own, but for anything beyond a demo that's what you'll need to.
HTH,
/Uffe