Author Topic: WebEA model ordering  (Read 22350 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2080
  • Karma: +46/-82
    • View Profile
WebEA model ordering
« on: June 21, 2021, 08:08:49 am »
The ordering of models on the WEBEA login screen (/webea/login.php) is tightly linked to the URLs providing access into the model (e.g. /WebEA?m=5&o=9B228E5D-CCE8-4094-9784-20FC0DD87FCF).


This means that if you want to change to order of models on the WebEA login screen the model number changes and all your historic links break.


I'd like to suggest that order of models on the login screen be separate from the "model number" (and why does it have to be a number anyway, what is wrong with text?)
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8066
  • Karma: +118/-20
    • View Profile
Re: WebEA model ordering
« Reply #1 on: July 12, 2021, 09:33:35 am »
I remember that we added a way to separate the order the models were displayed from that number.

I'm a little fuzzy on the details but I think you can specify an arbitrary order for the model_list in webea_config.ini
Code: [Select]
[model_list]
model2 = "a"
model1 = "b"
model3 = "c"
model4 = "d"

...

Names change, are longer, need escaping, may need translating, the implementation used a number as a key.

skiwi

  • EA Expert
  • ****
  • Posts: 2080
  • Karma: +46/-82
    • View Profile
Re: WebEA model ordering
« Reply #2 on: July 12, 2021, 09:56:57 am »
Ah yes, thanks very much, I see now that is documented in https://sparxsystems.com/enterprise_architect_user_guide/15.2/pro_cloud_server/configure_webea_via_text.html.


And I see that the the web browser also exposes this functionality, I didn't interpret it as such (https://sparxsystems.com/enterprise_architect_user_guide/15.2/pro_cloud_server/configure_webea_via_web.html).
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64