Book a Demo

Author Topic: DUID?  (Read 4149 times)

Thomas Mercer-Hursh

  • EA User
  • **
  • Posts: 386
  • Karma: +0/-0
  • Computing Integrity
    • View Profile
DUID?
« on: May 07, 2008, 09:17:03 am »
In t_DiagramObjects there is a column ObjectStyle, which seems to always begin with DUID=<something> and which may or may not be followed by parameters as documented under DiagramObjects ... but what is the DUID a pointer to?  It is non-unique and not big enough to be a GUID.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: DUID?
« Reply #1 on: May 07, 2008, 11:29:13 am »
While I have no idea, I ran across this some time ago.

For whatever reason, it seems you can leave the DUID out, and EA will work correctly. Next time EA opens the diagram - I don't remember if this applies only to the UI or to the API as well - it seems to create a DUID and add it to the field. So it seems to be self-healing.

A few words of caution though. The above is based on casual observation from a pair of projects; by no means was this a comprehensive (or even directed) test. The above also dates back to EA 4.x times, and I have not looked at the issue since.

If you can find out what this animal is - and even better how it can be generated and handled - please share what you learn.

David
No, you can't have it!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: DUID?
« Reply #2 on: June 03, 2009, 06:29:34 pm »
Quote
If you can find out what this animal is - and even better how it can be generated and handled - please share what you learn.

David
Anyone prepared to say what it is?  I've fallen over it today.  I wanted to set the Notes compartment to show no notes and couldn't find the appropriate style.  All I got was this DUID - which appears to be an encoded style manifest.

Purely by luck I found how to do it.

Since you can't set all the style elements by the UI and you can't set all the style elements by the automation and you can't set all the style elements by direct injection into the DB, you're sort of snookered!

Paolo
      
Using EA in spite of EA, NOT because of it!TM


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