Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Stefan Kull on February 24, 2012, 06:40:44 am
-
When: During renaming/update of existing Glossary term via [Glossary Item Details]...
What: Add a "Search & Replace" option
Why: A time consuming task that easily could be automated :exclamation
What else: Need to adjust the scope for the Search&Replace, see list below...
- Update element - Short description: [Yes/No/Automatic]
- Update element - Notes: [Yes/No/Automatic]
- Update diagram - Name: [Yes/No/Automatic]
- Update diagram - Notes: [Yes/No/Automatic]
- Update package - Name: [Yes/No/Automatic]
- Update package - Notes: [Yes/No/Automatic]
Example : Before getting into construction(RUP) phase, we decided to clean up the glossary. Like all instances of "Supplier SSP Admin” should be replaced by “SSP Admin at Supplier”. This rename/replace action applies to both name & note field for...
- Actors Diagram & Elements
- Use Case Package, Diagram, Elements
- Requirements Package, Diagram and Elements
- Flow charts Package, Diagram and Elements
Consider repeating this for all 20 terms to be updated in my small/mid size project, without any tool...
...a lot of hands-on :'(
- 18 Use Case with description texts
- 160 Requirements
- 15 Flow Charts
I also considered "exportXML-update-ImportXML" - but avoided due to 10 concurrent users of “my” package-branch in our EA Repository... (totally about 30-50 users)
- From EA Repository, use package export to .XML
- notepad.exe (Open + Search/Replace + Save) [smiley=thumbdown.gif]
- DELETE package in EA Repository <– Me don’t like[smiley=shocked.gif]
- Import .XML package to EA Repository
Best regards
Stefan Kull
Senior business analyst
Södertälje/Sweden
-
I found a Script on the http://community.sparxsystems.com that was made by Mr. Takeshi Kouno [smiley=dankk2.gif] at Sparx Systems Japan that will solve my the immediate need. See page: Replace text in Element Name and Notes (http://community.sparxsystems.com/resources/scripts/replace-text-element-name-and-notes)
Please… package/present that functionally via a user friendly UI in the next SparxEA 9.3!
Right know the nerd-index is too high for a average business analyst.- Select if Interactive(With Replace/Next prompt) Automatic(Replace All)
- Select how deep the search should go
Package Name[highlight][X][/highlight] Note[highlight][_][/highlight], Diagram Name[highlight][X][/highlight] Note[highlight][_][/highlight], Elements Name[highlight][X][/highlight] Note[highlight][_][/highlight] etc..
[/list]