cancel
Showing results for 
Search instead for 
Did you mean: 

What is the Alfresco Portlet Extension?

conrad
Champ in-the-making
Champ in-the-making
Hi,

I've not been able to find the documentation around what this module is. I only came across it because I was activating the Wiki Rich Content addon. Can someone please let me know?

Thanks and regards,
Conrad
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
The actual extension lives in $TOMCAT_HOME/webapps/share/WEB-INF/classes/alfresco/site-data/extensions/alfresco-portlet-extension.xml. But I'm not sure exactly what the purpose of it is. Perhaps David Draper will weigh in.

Jeff

ddraper
World-Class Innovator
World-Class Innovator
Prior to Alfresco 4.x Portlet support was built directly into Share. This meant that the Share source code contained lots of logic (in particular, lots of if blocks) that altered the behaviour of the application if it was detected that the code was being run in a portlet context. As a proof of concept for the extensibility features that we added to Surf we abstracted all the Portlet support code from Share and placed it in an extension module. This module is included in the Share code but is not deployed by default.

Essentially if you wish to use the Alfresco portlets (e.g. through LifeRay) then you need to ensure that you have deployed the Portlet module - the best way to do this is to switch Share to run in "auto-deploy" mode so that the module is automatically deployed at application startup.

Regards,
Dave