cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate Alfresco with GateIn portal

nander
Champ in-the-making
Champ in-the-making
Hi,
I want  to integrate Alfresco with GateIn portal. Is there any detail documentation on how this can be done?
Thanks  :wink:
2 REPLIES 2

openpj
Elite Collaborator
Elite Collaborator
A way to integrate Alfresco in any portal is to create WebScripts and expose all as portlets using a configuration.
This scenario works only if you have deployed Alfresco in the same application server of the portal.
Alfresco provide a PortletWrapper for WebScripts, to expose an Alfresco Webscript as a portlet you can use this class in Alfresco:

org.alfresco.web.scripts.portlet.WebScriptPortlet

WebScriptPortlet must be used as the portlet class in your portlet.xml.

You have to implement your standard Alfresco WebScript, then if you need to expose it as a portlet you must to add a snippet on Alfresco portlet.xml to set authenticator correctly for your portlet container.

I have posted a reply on a similar subject with an example and snippet code:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=145471

More info about authentication for this integration on Alfresco Wiki:
http://wiki.alfresco.com/wiki/Web_Script_Runtimes

Otherwise, if Alfresco is running on a different application server, you can develop your own portlet contacting Alfresco using one of the exposed APIs available (SOAP, REST and CMIS).

I suggest you to take a look at my book Alfresco 3 Web Services that shows you how to contact Alfresco remotely and how to create your own WebScripts.

Hope this helps.

stevereiner
Champ in-the-making
Champ in-the-making