ReactJS portlet edit mode - dynamically build configuration.json

Jamie Sammons, modified 4 Years ago. New Member Posts: 3 Join Date: 6/7/13 Recent Posts

Hi,

I develop react js portlet for Liferay 7.4. Portlet instance need to store configuration in edit mode. It's nicely described here: 

https://help.liferay.com/hc/en-us/articles/360032610031-Configuring-System-Settings-for-OSGi-Bundles-Created-with-the-liferay-npm-bundler

Everything is fine if i can build configuration.json with static forms, prefilled dropdowns etc. It will generate edit mode of portlet and store configuration as preferences. Unfortunately I need to fill dropdown options with data from database dynamicaly. Is there any demo I can see how this can be done?

Many thanks in advance,

Radek