LPS-64198, hook properties and company properties are read and can be accesed in Control Panel --> Server Administration --> Properties --> Portal Properties. However, if you try to get one of the hook properties, it is not going to be found.
1.- Set up -Dcompany-id-properties=true.
2.- Add a file called portal-liferay.com.properties to your LIFERAY_HOME, which includes, i.e., a property called test.company.property=companyProperty.
3.- Start Liferay.
4.- Deploy a hook which includes a portal.properties file. In this example, we did it with portlet chat.
5.- Go to Control Panel --> Server Administration --> Script, and execute the code below:
You get portal, company and hook properties.
You only get portal and company, but not hook property.
- In this scenario, if you restart the Liferay Portal with -Dcompany-id-properties=false, you'll get portal and hook properties but obviously not the company property.