Book a Demo

Author Topic: Order of sections within custom document templates  (Read 3701 times)

Mr. Sanders

  • EA User
  • **
  • Posts: 187
  • Karma: +0/-0
  • Dilbert for president
    • View Profile
Order of sections within custom document templates
« on: November 08, 2015, 02:12:31 am »
Hi,
I never liked the documentation about how to design custom Reports.

In Addition the template Editor behaves also strange.

It is possible to move the different section within a document template, but is that, what you want to offer to your customers.

e.g. lets work on a copy of the ModelReport template.
When you go into the section tree you can move the sections with the up and down Buttons.

So lets Move the Package->Package Element->External Requirements.

When selected and the move up button is clicked. the section actually moves within the Content view of the Editor, but not within the section tree. As a result the sequence within the section tree doesn't match the sequence within the Content view, so I get lost having an overview about the real sequence with in the document.

BUT:

let's go one node deeper with in the section tree like:
Package->Package Element->External Requirements->Tagged Value

When selected and the up button is clicked, the node within the tree is moved AND the section in the Content view is moved, which is a different behavior than before.

Really strange. Is that as expected?
I would say no, this is very confusing.
Or where is my misunderstanding?

Regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Order of sections within custom document templ
« Reply #1 on: November 08, 2015, 05:28:20 pm »
Indeed there's something strange going on with that specific section.

I seem to be able to move it down, but not up.
Workaround is to move the sections that are above this section down.

You best report it as a bug

Geert

Mr. Sanders

  • EA User
  • **
  • Posts: 187
  • Karma: +0/-0
  • Dilbert for president
    • View Profile
Re: Order of sections within custom document templ
« Reply #2 on: November 09, 2015, 09:31:08 pm »
The behavior seems to depend on which node Level I operate and which nodes are selected and deselected. I cannot find a pattern.

It behaves different. The odd Thing, I always had Problems to understand the handling of the document templates. An now I know why. This behavior is in EA at least since Version 7, and that's the reason I was not able to follow the logic of this strange Editor.