Hi,
I have the following use case that I am not sure whether can be achieved using any of Alfresco's API.
My team is currently developing a training application. We want to include a search textbox and button in our application. When the user enters his search string in our text box and click on the Search button, we want to send this search request to Alfresco application and display the search results in the Alfresco web ui. Is this possible to do and if so, how? Thanks.
Regards,
Lee
Sure it is possible - that is actually how advanced search in Alfresco Share works. The form input of the advanced search is turned into a JSON string and inserted as an argument to the URL for the search result page, which then processes that input and forwards it to the actual search operation. So you can build something similar where your search UI constructs the URL to the Share search result page...
Hi,
Thanks for replying so promptly. Are there any sample codes that I can reference to while I try it out? Appreciate your help.
Regards,
Lee
You mean, other than the source code of Alfresco, i.e. advsearch.js and configuration of search path?
There shouldn't be any need for any other samples...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.