Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay 7.2 CE GA1 Configuration API doesn´t work
Hi, I am trying to migrate some projects from Liferay 7.1.0 CE GA1 to Liferay 7.2.0 CE GA1 and I have a problem with Liferay Configuration API in Liferay 7.2.
In Liferay 7.1, the configuration of custom modules is shown in System Configuration / Third - Party category. But in 7.2 it is shown in two Third - Party categories: one for System settings and another for Instance Settings but my modules doesn´t appear on any of those configurations.I have found this page https://portal.liferay.dev/docs/7-2/user/-/knowledge_base/u/system-settings and I have tried to modify my configuration class with no success.Below are the screenshots of my issue.

This is my implementation of configuration class.
In Liferay 7.1 my configuration appears in System Configuration / Third - Party menu.
I tried below implementation with no success.
Thanks in advance.
In Liferay 7.1, the configuration of custom modules is shown in System Configuration / Third - Party category. But in 7.2 it is shown in two Third - Party categories: one for System settings and another for Instance Settings but my modules doesn´t appear on any of those configurations.I have found this page https://portal.liferay.dev/docs/7-2/user/-/knowledge_base/u/system-settings and I have tried to modify my configuration class with no success.Below are the screenshots of my issue.


This is my implementation of configuration class.

In Liferay 7.1 my configuration appears in System Configuration / Third - Party menu.

I tried below implementation with no success.

Thanks in advance.
I guess, you are using the default workspace configuration for 7.2.
compile group: 'com.liferay', name: 'com.liferay.gradle.plugins.workspace', version: '2.0.4'
It's still the default, but it is broken. It doesn't generate the configuration metadata. Please try to change 2.0.4 to 2.1.4, the most current version.
compile group: 'com.liferay', name: 'com.liferay.gradle.plugins.workspace', version: '2.1.4'
hth
compile group: 'com.liferay', name: 'com.liferay.gradle.plugins.workspace', version: '2.0.4'
It's still the default, but it is broken. It doesn't generate the configuration metadata. Please try to change 2.0.4 to 2.1.4, the most current version.
compile group: 'com.liferay', name: 'com.liferay.gradle.plugins.workspace', version: '2.1.4'
hth
There's no more need to downgrade (in case you find other postings on this topic as well), you can also use a more recent (rather than an older) version of Liferay Workspace.
Edit your settings.gradle to include a newer version of Liferay Workspace. 2.1.9 works for me, but check the link for the current version
Edit your settings.gradle to include a newer version of Liferay Workspace. 2.1.9 works for me, but check the link for the current version
Is to good to change the workspace jar file? - Is there any discrepancy with other rest Gradle WSDDL, WSDD, JAVADOC plugin module?
For my end resolution, I created a config file of my configuration class and put inside -> <LIFEERAY_HOME>/osgi/configs
Inside Config File, put key-value pair of the declared parameters in the interface class.
For Example : (Attached File)
com.xxxxxxxx.auth.config.AuthServiceConfiguration.config
authServiceURL=<value>
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™