0
votes

I'm trying to fetch the setting value of the email reply address with:

PropsUtil.get(PropsKeys.ADMIN_EMAIL_FROM_ADDRESS)

But this returns the original value from the portal-ext.properties file, which has since been updated in the Control panel to a different value.

What *Service or *Util do I use to access settings in the Liferay control panel?

I've hunted through the source of Liferay but I can't seem to find a way.

Any ideas?

1

1 Answers

1
votes

Use PrefsPropsUtil instead of PropsUtil