<?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>Saving Liferay 7 forms json to a separate db rather than liferay</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=88905185" />
  <subtitle>Saving Liferay 7 forms json to a separate db rather than liferay</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=88905185</id>
  <updated>2026-04-03T22:28:10Z</updated>
  <dc:date>2026-04-03T22:28:10Z</dc:date>
  <entry>
    <title>RE: Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119461446" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119461446</id>
    <updated>2020-06-22T12:29:41Z</updated>
    <published>2020-06-22T12:29:41Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Vishal Srivastava:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Kindly use DDMStorageAdapter instead of BaseStorageAdapter!!&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;3 years ago when this was posted, DDMStorageAdapter didn&amp;#39;t exist yet.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2020-06-22T12:29:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119459312" />
    <author>
      <name>Vishal Srivastava</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119459312</id>
    <updated>2020-06-21T12:37:14Z</updated>
    <published>2020-06-21T12:37:14Z</published>
    <summary type="html">Kindly use DDMStorageAdapter instead of BaseStorageAdapter!!</summary>
    <dc:creator>Vishal Srivastava</dc:creator>
    <dc:date>2020-06-21T12:37:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114296085" />
    <author>
      <name>Mohamed RAGUIG</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114296085</id>
    <updated>2019-07-15T07:56:47Z</updated>
    <published>2019-07-15T07:56:47Z</published>
    <summary type="html">Hello everybody,&lt;br /&gt;I have a requirement related to this thread, i want to change the storage table of my form, i&amp;#39;m using Liferay 7.2. I tried to implement the StorageAdapter interface but all my imported classes are deprecated, in addition to this building and deploying my service to my server didn&amp;#39;t add the storage option in the form settings.</summary>
    <dc:creator>Mohamed RAGUIG</dc:creator>
    <dc:date>2019-07-15T07:56:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89698765" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89698765</id>
    <updated>2017-05-21T15:56:41Z</updated>
    <published>2017-05-21T15:56:41Z</published>
    <summary type="html">Not sure that&amp;#39;s going to be possible there; the expectation is that code will persist the form, not really reject form data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.eventbrite.com/e/liferay-symposium-north-america-2017-registration-28398031276"&gt;Come meet me at the 2017 LSNA!&lt;/a&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2017-05-21T15:56:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89700277" />
    <author>
      <name>Rajesh Chaurasia</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89700277</id>
    <updated>2017-05-21T12:54:16Z</updated>
    <published>2017-05-21T12:54:16Z</published>
    <summary type="html">Hi David ,&lt;br /&gt;&lt;br /&gt;Thanks for the reply.&lt;br /&gt;So i can persist the data entered in form into a separate database.&lt;br /&gt;Also can you let me know if i can apply some business rules on the form like if i have a field weight - can i apply a business rule like weight should not exceed 100 kg upper limit at front end and also at backend?</summary>
    <dc:creator>Rajesh Chaurasia</dc:creator>
    <dc:date>2017-05-21T12:54:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89547885" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=89547885</id>
    <updated>2017-05-17T14:03:27Z</updated>
    <published>2017-05-17T14:03:27Z</published>
    <summary type="html">No modifications necessary.&lt;br /&gt;&lt;br /&gt;Just create an implementation of the com.liferay.dynamic.data.mapping.storage.StorageAdapter.  When creating your form, you can select this storage adapter for the form.&lt;br /&gt;&lt;br /&gt;Your storage adapter can then do anything to persist and access the data.  Check out the com.liferay.dynamic.data.mapping.storage.impl.JSONStorageAdapter to see how to serialize to/from json and how the Liferay implementation handles the persistence.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.eventbrite.com/e/liferay-symposium-north-america-2017-registration-28398031276"&gt;Come meet me at the 2017 LSNA!&lt;/a&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2017-05-17T14:03:27Z</dc:date>
  </entry>
  <entry>
    <title>Saving Liferay 7 forms json to a separate db rather than liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88905184" />
    <author>
      <name>Rajesh Chaurasia</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88905184</id>
    <updated>2017-05-01T05:13:14Z</updated>
    <published>2017-05-01T05:13:14Z</published>
    <summary type="html">Hi All&lt;br /&gt;&lt;br /&gt;I have a use case where i am required to save the form data - json -to a separate db rather than liferay db.&lt;br /&gt;For this use case i figured out that Liferay 7 forms can be used but my use case is little different due to above scenario.&lt;br /&gt;Can we  still use liferay 7 forms with some modification ?</summary>
    <dc:creator>Rajesh Chaurasia</dc:creator>
    <dc:date>2017-05-01T05:13:14Z</dc:date>
  </entry>
</feed>
