掲示板
How to obtain Liferay 7 Control Pannel properties
6年前 に David Kirvan によって更新されました。
How to obtain Liferay 7 Control Pannel properties
New Member 投稿: 10 参加年月日: 15/06/04 最新の投稿
I am trying to obtain the Control Pannel / System Settings / Foundation / LDAP Servers / User search filter property programmatically. I have tried using the PropsUtil without success.
In 6.2 the portlet was using the following to obtain the property needed.
PrefsPropsUtil.getString(companyId, PropsKeys.LDAP_IMPORT_USER_SEARCH_FILTER + "." + existingLDAPServerIds[0])
I can always put the value in the portal-ext.properties file but we would really like to use the property from the control panel.
Thanks for any direction you can provide.
In 6.2 the portlet was using the following to obtain the property needed.
PrefsPropsUtil.getString(companyId, PropsKeys.LDAP_IMPORT_USER_SEARCH_FILTER + "." + existingLDAPServerIds[0])
I can always put the value in the portal-ext.properties file but we would really like to use the property from the control panel.
Thanks for any direction you can provide.