Hi, Could any one tell how the advanced search canbe done through web sevice . Basically we are trying to use alfresco inside liferay portal and we need the advanced search option to be performed from Liferay while the contents are in alfresco repository .
Could managed to get some simple query example, but could not get advanced search query.
Could you share detailed about how to achieve this
You could create a Webscript exposed as a portlet on LifeRay. If LifeRay is deployed in the same application server instance of Alfresco, you can expose Webscripts as portlets.
Then you can create two Webscripts: - a Webscript to render a custom form to show all your custom params to use during a search; - an other webscript that takes in input all the parameters from the first Webscript and submit the search and show the results.
In this example you can not use Web Service interface.
Otherwise you can implement in an easy way this feature implementing the same Webscripts but in a different way to send parameters. You could create custom actions (Webscripts) that you can call from Web Service. For more details:
Thanks for your reply . I have one more quey 1, Is it posible to diplay auditing information from alfresco inside Liferay using webservice ?.Does webservice support auditing and file hit counter methods? to call it from out side alfresco
Then you can create a custom Webscript to show auditing information (as you can see in the example in the wiki) as a Custom Action for your Web Service call, in the same way I suggest you in the previous reply. But if LifeRay is installed in the same instance of the application server where you have deployed Alfresco, you can expose a Webscript (auditing informations) as a portlet in LifeRay without using Web Service calls :wink: