Author Topic: Model Default Diagram does not start  (Read 5262 times)

Viking

  • EA User
  • **
  • Posts: 433
  • Karma: +2/-2
    • View Profile
Model Default Diagram does not start
« on: August 23, 2024, 06:53:48 pm »
Hi, this feature always worked in other setups, but for any reason I cannot set “Model Default Diagram” for everybody in the project in my current setup.

I followed the instructions in: https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_fundamentals/usr_model-default_diags.html.

My current setup is:
-   EA v16.1
-   MariaDB.
-   User Security is enabled in: Settings > Security > Administer > Enable Security.
-   Start > Collaborate > Model Home > Manage > Choose Default > …. I also tried Model Home > Set current as default.
-   I checked it with: Start > Collaborate > Open Model Diagram (which opens the correct diagram for me, but not for other users).

Suggestions are very welcome, V.
« Last Edit: August 23, 2024, 06:56:04 pm by Viking »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Model Default Diagram does not start
« Reply #1 on: August 24, 2024, 06:03:29 am »
Query usys_system.Default_Diagram. It should contain the guid of your diagram

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8066
  • Karma: +118/-20
    • View Profile
Re: Model Default Diagram does not start
« Reply #2 on: August 26, 2024, 03:19:32 pm »
I suspect this issue is that the model default is overridden by any user who has specified their own default.

Quote
Make the current diagram the default diagram displayed when any user re-opens this model.
Where "any user" actually means any user that doesn't have a user default diagram set.

Viking

  • EA User
  • **
  • Posts: 433
  • Karma: +2/-2
    • View Profile
Re: Model Default Diagram does not start
« Reply #3 on: August 26, 2024, 04:53:11 pm »
Query usys_system.Default_Diagram. It should contain the guid of your diagram
q.

Many thanks, @Qwerty. I checked this and the entry (GUID) is correct. But the diagram (with this GUID) does not open in the EAs of the other team members :(

Viking

  • EA User
  • **
  • Posts: 433
  • Karma: +2/-2
    • View Profile
Re: Model Default Diagram does not start
« Reply #4 on: August 26, 2024, 05:40:08 pm »
I suspect this issue is that the model default is overridden by any user who has specified their own default.

Many thanks @Eve. The users just installed EA and have no idea about this feature. No, they did not configure their own default diagram
« Last Edit: August 27, 2024, 12:57:53 am by Viking »

Viking

  • EA User
  • **
  • Posts: 433
  • Karma: +2/-2
    • View Profile
Re: Model Default Diagram does not start
« Reply #5 on: September 09, 2024, 09:14:03 pm »
[SOLVED] In the shortcut was a wrong (none existing) GUID. I assume the shortcut overrules the other entries.

philchudley

  • EA User
  • **
  • Posts: 741
  • Karma: +20/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Model Default Diagram does not start
« Reply #6 on: March 05, 2025, 02:32:14 am »
I know its an old thread, but the following is relevant to something I am working on:

Query usys_system.Default_Diagram. It should contain the guid of your diagram

Which table is that? I can only find tables that begin with t_

I am looking for where the default diagram is set within the repository tables.

Phil
Models are great!
Correct models are even greater!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8599
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Model Default Diagram does not start
« Reply #7 on: March 05, 2025, 04:59:29 pm »
I know its an old thread, but the following is relevant to something I am working on:

Query usys_system.Default_Diagram. It should contain the guid of your diagram

Which table is that? I can only find tables that begin with t_

I am looking for where the default diagram is set within the repository tables.

Phil
Hi Phil,
It's in t_xref, Name=DefaultDiagram, Type=element property
IIRC, there's also a linkage in PDATAn  (if you're thinking of manipulating things directly).


HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

philchudley

  • EA User
  • **
  • Posts: 741
  • Karma: +20/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Model Default Diagram does not start
« Reply #8 on: March 05, 2025, 08:41:04 pm »
Thanks! Will check that out

Phil
Models are great!
Correct models are even greater!