You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
Maybe I just can't find it, but I don't see an easy way to do a simple search for an element using the GUID.
I am trying to chase down which elements are impacted by the "cross package reference" warning when you commit changes to a VCS.
The warning dialog only gives you GUIDs, and I want to investigate further, but I see no easy way to search for an element based on the GUID.
I will write a quick script in the meantime, but surely there must be a direct way using the workbench?
[original message]
qwerty
unread,
Aug 21, 2014, 1:55:56 PM8/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
The XML guids are formatted different to that inside EA. Just from memory the "-" is replaced by "_", there's a different prefix and the enclosing curly braces are omitted. Just have a look at one GUID in t_object.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
I use jscript for scripting, and using an api like this:
element = Repository.GetElementByGuid("{857C6B87-0EC2-45cc-A50E-34D931E1E26F}");
I can find elements using GUIDs I exported into a csv file using script like this:
element.ElementGUID
But the warning dialog gives me GUIDs that look like this:
EAID_B9C372CD_949E_4822_BA2C_3F018B8DE172 or EAPK_E3EFAB06_0978_4623_AD90_FF38994AEEFE
I am dropping the prefix (EAID_ or EAPK_) and enclosing the rest in {}, but my script does not find any elements with those GUIDs.
Now it may be actually true that these elements are not in the model, since I am checking after my commit and warning, but the warning was about sparx removing a relationship and I am trying to find the source and destination elements for the relationship mentioned in the warning so I would expect them to still be in the model.
Next time I have a warning I will cancel and try to find the elements before I commit, and see if I can get this script to work with the GUIDs they show to me in the warning dialog.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
Ken,
I've implemented such a search fucntion in my free EA Navigator (http://bellekens.com/ea-navigator/) add-in. It doesn't only search for elements but also diagrams, attributes, operations and connectors.