Book a Demo

Author Topic: How to get a list of EA Searches?  (Read 3593 times)

Ian E Mitchell

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
How to get a list of EA Searches?
« on: November 08, 2011, 01:33:29 am »
The Automation method GetElementsByQuery(string QueryName, string SearchTerm) looks useful for returning the list of elements which arise from running the query.
BUT - where can I get a list of the available searches, via the automation interface? I've even looked thorugh all the tables in the EA database, to see if I can find my search, but there's nothing obvious. Does anyone know where this list of Searches (user- or built-in) can be found ?
I need to this as part of a new feature for our http://www.eaDocX.com document generator.
eaDocX - Document Generator for EA -  http://www.eadocx.com

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to get a list of EA Searches?
« Reply #1 on: November 08, 2011, 08:34:19 am »
User searches should be in %APPDATA%\Sparx Systems\EA\Search Data.

The built in searches are exactly that: hard-coded in EA.

Searches can also be provided by MDG Technologies. If you are writing an add-in that requires that a given search must be present, you might want to add the search to an MDG Technology and load the technology from your add-in.
The Sparx Team
[email protected]