Removing a liferay portal instance

Is there a way to delete a portal instance created in liferay 6 ??

+5
source share
5 answers

No, it is not possible to delete a portal instance in Liferay 6.0. But this may change in future releases (see comments below this feature request: http://issues.liferay.com/browse/LPS-14023 )

+7
source

Unable to delete the portal instance directly. If you really want to delete it, you need to go to the portal database and try to delete all the table data using a specific companyId (since the portal instance is identified by companyId).

+3
source
+2

. Liferay 6.x . , , , .

+1
source

The portlet code is written only once. To make the portlet “invulnerable”, set instancable = true to liferay-display.xml of this particular portlet. As for deleting an instance, you just need to log in as an administrator and remove this portlet from the page. This in no way affects other instances running on different pages of the same portal.

0
source

All Articles