Bijan Vakili 9 Years Ago Yogesh, great post to highlight this feature; one of many underrated fatures! Thank you very much for sharing this piece! Please sign in to reply. Reply as... Cancel
Henry Kühl 9 Years Ago Hello Yogesh,thank you for this blog-post! Actually, I'm working on a project right now where we have to make use of this feature a lot.The problem is (correct me if I'm wrong): it is not that well documented!We tried to configure the property "velocity.engine.restricted.classes" in a company-specific way. As of now: this is not possible because the Velocity-Enginge is created at startup using the property. This might be a corner-case because of the Velocity-Enginge.BUT: IMHO all the properties defined in com.liferay.portal.util.PropsValues can not be defined company-specific because they are resolved at class-loading-time!For all other/custom properties this feature really works like charme.Kind regards from GermanyHenry Please sign in to reply. Reply as... Cancel
Andew Jardine 9 Years Ago This didn't work for me. I can see at startup that the file is being loaded but the values that I specify are not being overridden. I did read somewhere that not all the properties are overrideable but I have yet to find any information outlining which of them are and which of them are not. Please sign in to reply. Reply as... Cancel
Phil Zhang 9 Years Ago This article probably could be helpful:https://www.liferay.com/group/customer/knowledge/kb/-/knowledge_base/article/30717691 Please sign in to reply. Reply as... Cancel