cancel
Showing results for 
Search instead for 
Did you mean: 

API to search

invantix
Champ in-the-making
Champ in-the-making
We have an intranet site running on Tomcat 6 on port 80.  I have alfresco installed in it's own tomcat installation on port 8085. 

I have been able to put links on our corp site to spaces in alfresco and display the space in a frame on our corporate site with our header and menus on top.  This seems to work fine.  Now I want to put a search box in the header of our corp site that hits alfresco and then I will display the results in that same frame. 

I am not sure what the best way to do this is.  Should I just create a form that submits to alfresco?  Should I use Web services?  Should I use Javascript API?  Should I use something else?

Thanks,
Chris
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
Yes, you could post the form to Alfresco, or you could use the KeywordSearch webscript and perform the search using AJAX, you then have control over the output of the results. Have a look at the following wiki page for more info: http://wiki.alfresco.com/wiki/OpenSearch