Book a Demo

Author Topic: GetElementsByQuery ( QueryName, Searchterm)  (Read 4824 times)

christian81

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
GetElementsByQuery ( QueryName, Searchterm)
« on: March 03, 2011, 09:08:02 pm »
For example GetElementsByQuery('Simple','Class1'), where results contain elements with Class1 in the Name and Notes fields.

Parameters:

QueryName: String - the name of the search to run, for example 'Simple'.
SearchTerm: String - the term to search for.  
--------------------------------------------------------------------------------

This function is very nice in order to get all elements in a repository in combine to GetElementSet.

But what´s the meaning of QueryName? The QueryName 'Simple' seems to be a kind of default search. Which kind of QueryNames also available? I can´t find anything at the help contents.

thx


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: GetElementsByQuery ( QueryName, Searchterm)
« Reply #1 on: March 03, 2011, 09:31:57 pm »
I guess it's the drop down which you see when pressing Ctrl-F (Simple is the first, Extended the second, etc.)

q.

christian81

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: GetElementsByQuery ( QueryName, Searchterm)
« Reply #2 on: March 03, 2011, 10:38:01 pm »
thx, this i tried to find.  :)