When you make an advanced search in Alfresco it returns a json response with results executing the script
http://localhost:8080/share/proxy/alfresco/slingshot/search/?facetFields=..
I have add a button in the aikau advanced search results page and I want to execute the same script. How can I call it and get its parameters ?
The aikau button
var button = {
name: "alfresco/buttons/AlfButton",
config: {
label: "Exec Script",
additionalCssClasses: "call-to-action",
onClick:....... **call facets script**...
}
};