Author Topic: SQL Search macro #BranchGUIDorID= xyz#  (Read 14346 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
Re: SQL Search macro #BranchGUIDorID= xyz#
« Reply #15 on: July 13, 2016, 03:53:06 am »
Thanks for the enlightenment, Helmut! I thought this is a hidden EA feature that I can use in my add-ins as well :-)

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: SQL Search macro #BranchGUIDorID= xyz#
« Reply #16 on: July 13, 2016, 08:10:17 pm »
Hi  McMannus,

hoTools is a Windows COM Object. If you need the feature to run advanced SQL from another Addin or even Script (vbScript, JavaScript, JScript) you should be able to use the functionality.

The interface would be:
  • Repository
  • SQL String
  • Search Term (can handle wild cards)

There could be two features:
  • Run SQL
  • Return SQL

If you are interested let me know.

On GitHub you can get the newest release and the current documentation. I don't always update the EA Community.

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: SQL Search macro #BranchGUIDorID= xyz#
« Reply #17 on: July 13, 2016, 08:20:09 pm »
Helmut, you could save yourself quite some work by just linking the community site to your github page :-)

q.

PeterHeintz

  • EA User
  • **
  • Posts: 976
  • Karma: +58/-18
    • View Profile
Re: SQL Search macro #BranchGUIDorID= xyz#
« Reply #18 on: August 17, 2016, 09:25:58 pm »
Thanks to Helmut’s hoTools the functionality is available, however I think to have the feature build in EA would be good e.g. build “self-maintained” Kanbans having elements underneath a defined package. A more general implementation would be to have the possibility to call script methods from SQL returning a SQL fragment as string.
Best regards,

Peter Heintz