Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
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
ReactJS portlet edit mode - dynamically build configuration.json
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
Community
Company
Feedback