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
RE: Liferay 7.3.7-ga8, persist Openstreetmap
I am using Liferay 7.3.7-ga8. To enable Openstreetmap, I can do it as the following: Control Panel -> Instance Settings -> Third Party -> Maps -> Select Openstreetmap and Save.
However, I am trying to persist this configuration, so that when I rebuild Liferay, Openstreetmap option will be already enabled.
There are no additional information that I can find from portal properties. For other example (e.g. FontAwesome under System Settings), there is a menu where I can export the configuration. This is unfortunately not the case for Openstreetmap. Can anyone provide help or maybe point me in the direction I should be looking more into? Thx in advance for your help. It is greatly appreciated.
I'm not sure what you mean with "rebuilding Liferay" - is that for installation on another server?
It seems that the choice for maps is persisted differently than most of the Instance Settings, and it ends up being persisted in the database. That would mean that you'd either need to start with a backup of an existing database, or configure it again (or write something that interfaces with the API. I'm not aware of a way to bring this setting over to a new version through an external configuration.
(but maybe someone corrects me and there is such a thing)
Yes, I meant for e.g. if I install it on another server. Alright thx, if there is no other way, then I will probably look into persisting over database.
Powered by Liferay™