Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: Polymorph on December 23, 2016, 12:03:03 am
-
Is there any way to perform a find and replace for a text string within the "Notes" of an element?
Any of you scripting gurus got any suggestions if not?
Thanks!
-
There are at least two ways (but none out of the box AFAIK). You can issue a simple SQL like
UPDATE t_<whatever> SET Notes=<newstring> WHERE <whatever>ID = <theId> with Repository.Execute. You can also use SQL string operations for a global change (I'm no SQL guru and don't know that by heart). The other way is to go via the API to find the element and change the notes right there.
q.
-
There's also a free tool from Helmut Ortman out there that does find and replace.
Haven't tried it myself though.
Geert
-
See https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki (https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki)
q.
-
Hi,
an easy way is to:
- Export Package or Model as *.xml
- Using a text editor for search and replace (be careful not to change unwanted things)
- Import from *.xml
Kind regards,
Helmut
-
See https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki (https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki)
q.
Hi,
I tried installing HO_Tools on two laptops that have EA Version 17 installed, and EA failed to start after the install.
Do any of you have experience using this on version 17?
Thanks,
Shimon