删除liferay门户实例

发布于 2024-11-01 02:35:20 字数 33 浏览 9 评论 0原文

有没有办法删除在liferay 6中创建的门户实例?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

咽泪装欢 2024-11-08 02:35:20

不,Liferay 6.0 中无法删除门户实例。但这可能会在以后的版本中发生变化(请参阅此功能请求下面的评论:http://issues.liferay .com/browse/LPS-14023

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)

长不大的小祸害 2024-11-08 02:35:20

无法直接删除门户实例。如果你确实想删除它,那么你需要进入门户数据库并尝试删除所有具有特定companyId的表数据(因为门户实例是通过companyId标识的)。

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).

榆西 2024-11-08 02:35:20

无法从数据库中删除门户实例。然而在 Liferay 6.x 中,您可以选择是否激活它。因此,如果您使门户实例处于非活动状态,则使用该 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.

流星番茄 2024-11-08 02:35:20

Portlet 的代码只需编写一次。
要使 Portlet 成为“instancable”,请在该特定 Portlet 的 liferay-display.xml 中设置 instancable = true。
至于删除实例,您只需以管理员身份登录并从页面中删除该 portlet 即可。这绝不会影响同一门户的各个页面上运行的其他实例。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文