Book a Demo

Author Topic: Search & Replace?  (Read 2627 times)

Matt Edwards

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Search & Replace?
« on: October 23, 2009, 08:31:44 am »
This tool provides a robust set of features to assist with finding and reporting against data in the repository, but nothing apparently designed to help manage data in the repository. I've run into a handful of scenarios over the past 10 minutes that call exactly for this sort of thing:

1. Change the author of a set of elements to someone else.
2. Change the status of a set of elements from proposed to approved.
3. Change the version of a set of elements from 1.0 to 2.0.

etc.

Am I missing something? Is there an efficient way to do this that doesn't involve importing/exporting the data or writing SQL directly against the model repository?

Any help would be greatly appreciated.

-Matt

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Search & Replace?
« Reply #1 on: October 23, 2009, 02:57:38 pm »
You can change the Status, Phase and Version for all elements under a specified package by selecting Package Control | Update Package Status from the Project Browser.  See:
http://www.sparxsystems.com/uml_tool_guide/project_management/updatepkgstatus.html

Unfortunately there is no way to bulk-modify other fields such as Author without using automation / scripting as far as I am aware.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Search & Replace?
« Reply #2 on: October 23, 2009, 03:21:51 pm »
Quote
Unfortunately there is no way to bulk-modify other fields such as Author without using automation / scripting as far as I am aware.
You can export to XMI, find-and-replace in a text editor, then re-import the XMI. Can be highly effective, but not ideal.
« Last Edit: October 23, 2009, 03:22:58 pm by KP »
The Sparx Team
[email protected]