Book a Demo

Author Topic: Globally Removing Author From Model  (Read 4653 times)

Sparxs411

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Globally Removing Author From Model
« on: May 19, 2018, 05:52:16 am »
Is anyone aware of a way to globally remove or change author names throughout the model? Can this be performed through project settings? I know the author can be changed on an individual basis (e.g., for each element created), but really interested in turn key solution for entire model.

Thanks!

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Globally Removing Author From Model
« Reply #1 on: May 19, 2018, 08:28:30 am »
Haven't seen anything in the User Interface that can do that however if you open the database with a DB tool you can search and replace the author column in t_object and t_diagram tables. For example with eap or eapx files open in MS Access.

If you don't have access to any DB tools then another way would be to run a jscript to go through the tree of objects to remove the author.

Happy to help
:)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Globally Removing Author From Model
« Reply #2 on: May 19, 2018, 08:29:11 am »
The only way is probably to run a SQL:
Code: [Select]
Repository.Execture("UPDATE t_object SET Author='Someone'")and the same for t_diagram (and maybe other tables?).

q.