Book a Demo

Author Topic: Elements appearing twice in generated documentation  (Read 4292 times)

Ewout124

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Elements appearing twice in generated documentation
« on: January 18, 2020, 02:52:15 am »
I have used the option Publish - Document - Generate Documentation to create a model report of my model in EA. I have used all the default options. The value for template is 'Model Report'.

In the generated document, some elements appear twice. The code lists and enumerations are listed under separate headings, but also 'on their own'. Some of the classes are also repeated twice. (These repeated classes are all association classes. Perhaps that might be a clue?)

To illustrate this, here is a part of the Table of Contents.

Veilig Thuis Meldingen 3
VT-melding diagram 3
INFORMERING 3     <--- Class listed first time
SOCIALE RELATIE 5
VERANTWOORDELIJKHEID 6
BETROKKENHEID 6
informeringswijze 8
SASH niveau 9
uitkomst veiligheidsbeoordeling 9
geslachtsaanduiding 10
Jeugdzorgrol 10   <---codelist listed first time
TINSTANTIE 11
TLAND_ISO 11
CodeList 11
   Jeugdzorgrol 12   <--- codelist listed second time
   TINSTANTIE 12
   TLAND_ISO 12
Enumeratiesoort 13
   SASH niveau 13
   geslachtsaanduiding 13
   informeringswijze 14
   uitkomst veiligheidsbeoordeling 15
Adres 15
Adres binnenland 16
Adres buitenland 19
BETROKKENHEID 22
Completed Changes from last week 23
Contactgegevens 24
INFORMERING 26     <--- Class listed second time
NATUURLIJK PERSOON 28
Naam 33
ORGANISATIE 35
SOCIALE RELATIE 38
VEILIGHEIDSBEOORDELING 39
VERANTWOORDELIJKHEID 41
[...]

Does anyone know why the elements are repeated?

Ewout

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Elements appearing twice in generated documentation
« Reply #1 on: January 20, 2020, 06:14:10 pm »
Hi Ewout,


Not sure precisely, but I would guess the repeated items are used in two different ways in the model.

The template could list an element in one part, and then include it in another because it is connected to another element that's being documented there.

It's hard to say exactly, but you can actually look in the templates to see what they do, even the built-in ones. In the document generation dialog, click Open Template to bring it up.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.