English 中文(简体)
Delete a liferay portal instance
原标题:
  • 时间:2011-04-12 11:36:52
  •  标签:
  • liferay-6

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

问题回答

No, there is no way to delete a portal instance in Liferay 6.0. But this might change in further releases (see the comments below this feature request: http://issues.liferay.com/browse/LPS-14023)

There is no way to delete the portal instance directly. If you really want to delete it, then you need to go to the portal database and try to delete all the table data with the specific companyId (as the portal instance is identified by companyId).

There is no way to delete portal instance from database. However in Liferay 6.x you will have an option to make it active or not. So If you inactive your portal instance then with that companyId you won t be able to make any action.

A Portlet s code is written just once. To make a Portlet "instancable" , set instancable = true in liferay-display.xml of that particular portlet. As far as deleting an instance is concerned, you just need to login as the Admin and delete that portlet from the page. This in no way affets other instances running on various pages of the same portal.





相关问题
How to use the Liferay "comments framework"?

I m trying to use the built-in comments functionality within a JSF 2.0/ICEfaces portlet application (the application is running fine already). Unfortunately there seems to be no detailed documentation ...

log4j with liferay and tomcat

I have a Liferay setup on the Tomcat6. I used Log4j initially for portlets/webapps by adding log4j.properties file in the classes folder and log4j.jar file in the web-inf/lib. Now we have few quartz ...

add users to liferay from .net using liferay webservices

I have some users in csv files to be imported into liferay. I don t have any idea about Hypersonic sql. So thought of inserting the users from .net. I tried calling getUserById() to test. It gives me ...

communication between GWT application and LifeRay portal

I m developing a GWT application which will be linked with LifeRay portal just as a link. What I want to get from LifeRay is a user and roles management (from LifeRay) so user logged in LifeRay and ...

How do I use http-authentification with Liferay?

How do I get users to authenticate by http-auth before they can access Liferay? More specific: How do I use http-auth instead of Liferay s sign-in page or portlets. Access to Liferay should be ...

JQuery UI Autocomplete in Liferay

I have implemented Jquery UI Autocomplete functionlaity in Liferay 6 ... its running well but when I m dng this into Liferay 5.2.3 .....its having various probelms with Jquery .....Can I use js 1.4 ...

热门标签