Sunday, December 01, 2013

Uninstall liferay base portlets

  
     To uninstall(Remove) the liferay base portlets we need to add <include>false</include> to the portlet definition in liferay-portlet.xml file and remove respective display in liferay-display.xml.


    By doing the above we may have some issues with portlets which are using the resources of the removed one.So careful  at the time of removing .


  The best idle approach is : 

         Just clear out the ROOT/WEB-INF/liferay-display.xml file. Taking the portlets out of here will keep them all in Liferay but remove them from a user's ability to place them on a page. It's probably the least impacting way to do this.

No comments:

Post a Comment

How to build an AI Agent

  Agents are the most valuable skill in AI and product right now. So why not build one? Here's how: 𝐒𝐭𝐞𝐩 𝟏: 𝐃𝐞𝐟𝐢𝐧𝐞 𝐚 𝐬𝐲𝐬...