留言板

Liferay 7 shared configuration

thumbnail
Alexandr Kozhin,修改在6 年前。

Liferay 7 shared configuration

New Member 帖子: 17 加入日期: 17-2-16 最近的帖子
I would like to create configuration interface to share between multiple modules. How to do that?
thumbnail
David H Nebinger,修改在6 年前。

RE: Liferay 7 shared configuration

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
In Liferay 7, config is not tied to a single object. As long as you have the necessary accessor keys, you can get the configuration.

For example, a company-scoped config object only needs the company ID and you can get there. Same w/ the site (group) scoped config.

When you get to portlet instance config, well that's tough to get because you may be missing the portlet id (especially if it is instanceable).









Come meet me at Devcon 2017 or 2017 LSNA!