Author Topic: EA generated GUIDs  (Read 4795 times)

naxx

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
EA generated GUIDs
« on: September 12, 2016, 08:12:47 pm »
Hello,

Can you tell me, if exists some rules according to Enterprise Architect generated element´s GUID?

Thanks for your answers.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13295
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA generated GUIDs
« Reply #1 on: September 12, 2016, 08:54:24 pm »
any standard GUID will do

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: EA generated GUIDs
« Reply #2 on: September 12, 2016, 11:29:43 pm »
GUIDs of packages and their element pendant are identically. There is another quirk where the GUID contains context information (somewhere with parameters??, TVs?? or so) but the details slipped my mind. But else you can use any GUID generator as Geert said.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: EA generated GUIDs
« Reply #3 on: September 13, 2016, 06:00:47 pm »
In terms of format, I think they all need to be brace-enclosed, hyphen-separated 8-4-4-4-12 groups ("B" format in .NET Guid.ToString()).

So if you're using a GUID generator, go with one that can deliver that format.

/Uffe
My theories are always correct, just apply them to the right reality.