Book a Demo

Author Topic: Sort order in html export differs from project browser sort order  (Read 4992 times)

althaue

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Hi all,

When i genereate the html documentation, the sort order of the packages differs in the html version from the sort order in the project browser.

Is there a way to fix that?

Thx,

Erich

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Sort order in html export differs from project browser sort order
« Reply #1 on: August 15, 2018, 05:11:45 am »
No idea. But you should state your EA version.

q.

althaue

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Sort order in html export differs from project browser sort order
« Reply #2 on: August 15, 2018, 03:52:08 pm »
I use EA Professional Edition 14.0.1423 (Build 1423) - Unicode.

Allow Free Sorting in Preferences is set.

As i've just seen, it does not render diagrams on correct position (first) instead it put's diagrams allways last. But starting only from a level in the hierarchy.

althaue

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Sort order in html export differs from project browser sort order
« Reply #3 on: August 17, 2018, 05:02:47 pm »
OK, looks like a bug ....

Or any tipp's ? Ideas?

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Sort order in html export differs from project browser sort order
« Reply #4 on: August 18, 2018, 09:33:37 am »
You could look at the HTML template and modify it to change the order.
You can create a new template that copies all the default template where you can then change it.

Configure > Reference Data > Resources > Document Generation > Web Style Templates

Create a new Web Style Template and have a look at the Javascript part of the template. I think the javascript creates the tree and so it controls the order. There are around 1085 lines of javascript. If you search through that you may be able to find and change the order.
Caveat is that you need to know JavaScript and HTML as it gets quite heavy.
Sorry don't have the time to find the exact line of code for you.
Happy to help
:)

althaue

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Sort order in html export differs from project browser sort order
« Reply #5 on: August 25, 2018, 12:35:14 am »
thx :)