<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>ReactJS portlet edit mode - dynamically build configuration.json</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121415275" />
  <subtitle>ReactJS portlet edit mode - dynamically build configuration.json</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121415275</id>
  <updated>2026-05-31T10:35:52Z</updated>
  <dc:date>2026-05-31T10:35:52Z</dc:date>
  <entry>
    <title>ReactJS portlet edit mode - dynamically build configuration.json</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121415274" />
    <author>
      <name>Radek Simcik</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121415274</id>
    <updated>2022-05-05T15:52:40Z</updated>
    <published>2022-05-04T20:29:09Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I develop react js portlet for Liferay 7.4. Portlet instance need to
  store configuration in edit mode. It's nicely described here: &lt;/p&gt;
&lt;p&gt;https://help.liferay.com/hc/en-us/articles/360032610031-Configuring-System-Settings-for-OSGi-Bundles-Created-with-the-liferay-npm-bundler&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;Many thanks in advance,&lt;/p&gt;
&lt;p&gt;Radek&lt;/p&gt;</summary>
    <dc:creator>Radek Simcik</dc:creator>
    <dc:date>2022-05-04T20:29:09Z</dc:date>
  </entry>
</feed>
