


Hi
Am looking at use case to invoke search directly by making service call or by providing short url. I tried to invoke search service by hitting directly in browser and it takes to login screen; after login, it will display a json, but am looking at landing at search page. Is there any sling setting to be enabled?
/libs/granite/ui/content/shell/omnisearch/searchresults/singleresults/searchpanel.html?location=site
Views
Replies
Total Likes
I would look at writing a Sling Servlet and then return the result set as the servlet output.
Views
Replies
Total Likes
am looking at making user land to search screen on click on of a URL.
Views
Replies
Total Likes
mohanb wrote...
am looking at making user land to search screen on click on of a URL.
Hi,
The solution provided by scott will do the same.
Look at this example:-
Link:- https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html
// Here Post request to the "/bin/mySearchServlet" is returning the data. You could also write a service using query builder API and can create a url to return data.
Link:- https://helpx.adobe.com/experience-manager/using/using-query-builder-api1.html
//Use of Query builder api.
~kautuk
Views
Replies
Total Likes