Book a Demo

Author Topic: Project Searches  (Read 15674 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Project Searches
« on: December 16, 2015, 08:15:56 pm »
I have some custom SQL searches. I wish to make them available to everyone that uses the model.

I am aware that it is possible to export the SQL to an XML file and then have each individual user re-import the search but is there any way to embed these searches within the project database itself?

Need: if I make changes to the search, I want these changes to affect everyone. I don't want each of my users to have to perform an import each and every time I change something.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Project Searches
« Reply #1 on: December 16, 2015, 08:25:00 pm »
You can create an MDG and add to the searches to it.

The distribution can be done in different ways, but you can also import the MDG in the model, which will make the searches available in this model (but not in other models)

Just make sure you use version 12.1 as there was a bug in v12 with regards to searches in MDG's imported in a model.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Project Searches
« Reply #2 on: December 16, 2015, 09:26:07 pm »
You can also try to distribute %appdata%\Sparx Systems\EA\Search Data

q.
« Last Edit: December 16, 2015, 09:26:36 pm by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Project Searches
« Reply #3 on: December 16, 2015, 09:47:31 pm »
Quote
You can also try to distribute %appdata%\Sparx Systems\EA\Search Data

q.
The danger in that is that you overwrite any searches a user might have saved himself. So unless you are absolutely sure none of the users have created their own searches I would not use this method.

I would be rather pissed is someone would do that to me ;)

Geert