Book a Demo

Author Topic: Automatically import searches  (Read 3639 times)

michael.jeier

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Automatically import searches
« on: April 07, 2009, 06:04:54 pm »
Hi there,

is it possible to automatically import searches into EA?

When I go to the "Manage Searches" dialog (Ctrl + F>Manage Searches) I can export and import searches as XML files. I want to make it possible for all users to import (or update) all current searches automatically or just with a mouse-click. Is there some function in the API I can use???
(I looked through the documentation of 7.1 and 7.5).

Regards, Michael

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Automatically import searches
« Reply #1 on: April 07, 2009, 06:37:31 pm »
You can include your searches in a MDG technology and deploy it on a shared file or network server (web or ftp).

The online help will give you a clue how to do this.
Basically you will have to add the following line in the *.mts file:
Code: [Select]
<ModelSearches file="_path to search export xml file_"/>

Putting it on a shared media will automatically update EA clients to the current version on the next restart.

HTH

Oliver
« Last Edit: April 07, 2009, 06:40:07 pm by ofels »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Automatically import searches
« Reply #2 on: April 08, 2009, 08:05:05 am »
Just quickly, Oliver is exactly right.  That's what Sparx Systems recommends (and does internally) for sharing searches.