cancel
Showing results for 
Search instead for 
Did you mean: 

Launch Document Searchs from Joomla

jlabuelo
Champ on-the-rise
Champ on-the-rise
Hello all

We have website created in Joomla and we use Alfresco 3.0 as Document Repository. We would like to be able to launch a form in Joomla where the user can specify the type of document (Alfresco Type) and the "range of dates" this document has been created. The idea is that with these parameters, be able to run this search in Alfresco and return a link per documment matched to Joomla so the user can download the document directly from Joomla.

I know that we need to create this component in Joomla, but how can we create this "search integration" between Joomla and Alfresco?

Any ideas or suggestions to start with will be really appreciated!!.

Thanks a lot in advance!
2 REPLIES 2

romschn
Star Collaborator
Star Collaborator
I am not very familiar with Joomla. However, the first approach I would choose in the scenario of custom front-end interacting with backend alfresco repository would be to use the alfresco webscripts. Below could be one way of achieving what you are trying to do -
Create a webscript in alfresco which will take the required input parameters (e.g.date range) and perform a search against the alfresco repository and build the webscript response as per your requirement.
From your front-end client, invoke this webscript and process the webscript response at front-end.

Hope this helps.

jlabuelo
Champ on-the-rise
Champ on-the-rise
Hi there

Thanks a lot for your comment, but as far as I understand it the webscript will be fine to perform a search or launch an action for example. But I would like Joomla to "run" a search in Alfresco, so Alfresco can return a "link" to each of the documents that matched the criteria and also the info related to the metadata liked to each document.

Once joomla receives this information we will show it up creating a component for this. My first idea was to create a WebService for Alfresco to be able to receive a query string, and return this information, but dont know if Joomla as it is PHP will be able to communicate with Alfresco Java WebService and process the java resulset.

If you think this still can be done with WebScripts, could you please explain me how can we "return" this links and metadata to Joomla?

Sorry for my qustion if this is obvious but I am getting a "mix" here between Java, WebService, WebScript, and php.

Thanks a lot in advance!!