Author Topic: Document Generation - sorting list of outgoing structural relationships?  (Read 2726 times)

AJuul

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
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.


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.


Does anyone have any idea if it's possible to sort items in Outgoing Structural Relationships?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
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

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
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
My theories are always correct, just apply them to the right reality.