Book a Demo

Author Topic: Navigation Cell hyperlink details lost with deleted diagram  (Read 13083 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Navigation Cell hyperlink details lost with deleted diagram
« on: March 24, 2023, 12:29:25 am »
Hello,

A minor issue: when I create a navigation cell  to open another diagram (drag/drop diagram within the active diagram), I can access the associated diagram via the Properties view > Hyperlink.
If the target diagram is deleted, the Hyperlink tab is no longer available so I cannot update it to select an alternate diagram.
It works ok with hyperlinks

Tested with EA16.1
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Navigation Cell hyperlink details lost with deleted diagram
« Reply #1 on: February 21, 2024, 10:54:50 pm »
I have just noticed this as well

On a related topic, where in the repository database are the details of the Hyperlink property stored?

I cannot find it anywhere ...

I would like to know for an add-in I am creating which needs to manipulate Navigation Cells.

I have found that the ID of the diagram the Navigation Cell links to is held in the PDATA1 field of the t_object table for the Navigation Cell entry. But this is not the complete picture.

Phil
Models are great!
Correct models are even greater!

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Navigation Cell hyperlink details lost with deleted diagram
« Reply #2 on: February 24, 2024, 01:00:07 am »
Thanks

I have solved my own problem  :)

The ID of the navigation cell linked diagram ID is in PDATA1, but this must be stored as an Int32 and then everything works just fine!

Phil
Models are great!
Correct models are even greater!