‎30-09-2016 01:47 PM - edited ‎30-09-2016 02:02 PM
Hi Guys,
How to use search box (Text box) value into a Mega Query variable. I am trying to getting input from a text box on Mega EA website and use this value into a Mega Query.
But some reason it does not work. Is there anyone have any sample structure to do this. I will really appreciate for any help...
Thanks
Azim
Solved! Go to Solution.
‎13-10-2016 12:27 PM
Tipue is also my favorite !
easy to implement.
‎13-10-2016 11:45 AM
Hi Wim,
Thanks for your reply and sharing the information. Yes, I also found using Javascript Search engine was much easier and flexible.
Btw, just curious which search engine you were using. I have tried Tipue Search.
Have a nice day.
Regards
Azim
‎13-10-2016 10:51 AM
Hi,
You can also include a javascript search engine, free available on the internet.
You only will have to implement it in your website template, like adding an index page.
I used it for multiple customers, works like a charm, and faster then going for server side scripting which connect to mega.
grtz,
Wim
‎04-10-2016 09:52 AM
Thanks a lot for your help and advise. That is really helpful and informative 🙂
Have a good day 🙂
‎04-10-2016 06:16 AM
Ok this is my recommendation
1. Create your own website in any server side scripting language
2. connect this site using Mega DLL Component to a mega repository
3. get search value and send this value to mega repository by using an API method oRoot.getSelection("Select [MegaObjectType] where Name=""") etc
You cannot use Mega Generated Static Website to run a search query on mega repository.
‎03-10-2016 04:56 PM
Hi Imran,
Thanks for your reply.
It's can be any where in EA website. I need to get the parameter value from users.
For example, when I execute this query in Mega query, it's asking for user input. (Select [Business Process] Where [Owner Library] &name)
On the website I have create a input text box (html). I need to get user input from that text box and execte the query in backend.
I have attached two screenshot for you 🙂
Thanks a lot for your help.
‎02-10-2016 06:52 AM
EA Website, is it a standard website generated by mega or are you talking about Mega Web Anywhere? If it's the first you cannot run mega search queries.