<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add additional table in nuxeo database in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486272#M15730</link>
    <description>&lt;P&gt;This isn't really how you're meant to use Nuxeo.&amp;nbsp;&lt;SPAN&gt;VCS and DBS are abstraction layers. You shouldn't need to mess with them directly and, in this way, the backend database is fully pluggable.&amp;nbsp;&lt;/SPAN&gt;It's certainly *possible* for you to customize the platform and do whatever you want, but not recommended &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I suppose you'd like to have some kind of simple key-value store? I would say there are a couple of options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a "settings" Document Type. You can simply store your "settings" using the data model. You can store each setting as a separate document or even using a single document (with a complex multi-valued field).&lt;/LI&gt;&lt;LI&gt;Store "settings" in nuxeo.conf; you can retrieve them in Automation, for example, using the Env[] object, e.g. Env[&lt;SPAN&gt;"my.cool.setting"&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2025 17:40:12 GMT</pubDate>
    <dc:creator>Josh-F-Hyland</dc:creator>
    <dc:date>2025-01-17T17:40:12Z</dc:date>
    <item>
      <title>Add additional table in nuxeo database</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486252#M15728</link>
      <description>&lt;P&gt;In the custom addons ，&amp;nbsp; i want to record some info in the db and read them later。 i want to add new table (in vcs)&amp;nbsp; or new collection (in&amp;nbsp; dbs)。 How can i achieve this？&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are there any references&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;or demos? Or a thought or a step?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 02:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486252#M15728</guid>
      <dc:creator>gaosh</dc:creator>
      <dc:date>2025-01-17T02:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add additional table in nuxeo database</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486272#M15730</link>
      <description>&lt;P&gt;This isn't really how you're meant to use Nuxeo.&amp;nbsp;&lt;SPAN&gt;VCS and DBS are abstraction layers. You shouldn't need to mess with them directly and, in this way, the backend database is fully pluggable.&amp;nbsp;&lt;/SPAN&gt;It's certainly *possible* for you to customize the platform and do whatever you want, but not recommended &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I suppose you'd like to have some kind of simple key-value store? I would say there are a couple of options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a "settings" Document Type. You can simply store your "settings" using the data model. You can store each setting as a separate document or even using a single document (with a complex multi-valued field).&lt;/LI&gt;&lt;LI&gt;Store "settings" in nuxeo.conf; you can retrieve them in Automation, for example, using the Env[] object, e.g. Env[&lt;SPAN&gt;"my.cool.setting"&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 17:40:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486272#M15730</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-01-17T17:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add additional table in nuxeo database</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486297#M15732</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Much thanks&amp;nbsp; for your kindly reply&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To be more specific, for example, I want to store a list of documents that one user has edited and a list of documents that one user has been opened and the&amp;nbsp; relative newest opened time and the newest&amp;nbsp; edited&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;time for each document&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp; &amp;nbsp;I need to retrieve these lists when needed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where can I store this information and retrieve it later? My idea is to create a separate table to store this information asdescribed&amp;nbsp;&amp;nbsp;in the previous question,&amp;nbsp; but I don’t know how to do it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Like you mentioned above, creating a new document type for this purpose?&amp;nbsp;&amp;nbsp;Is any other method and how?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 14:41:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486297#M15732</guid>
      <dc:creator>gaosh</dc:creator>
      <dc:date>2025-01-18T14:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add additional table in nuxeo database</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486342#M15735</link>
      <description>&lt;P&gt;You can alternatively use local storage a la the "Recently Viewed" list that you see on the Web UI Dashboard (and to be clear I mean you'll need to investigate this widget using dev tools, there's no documentation that I'm aware of but it at least provides an example).&lt;/P&gt;&lt;P&gt;If the lists must be server side, it's a good use case for Collections IMO (&lt;A href="https://doc.nuxeo.com/n/Rai" target="_blank"&gt;https://doc.nuxeo.com/n/Rai&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 19:31:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-additional-table-in-nuxeo-database/m-p/486342#M15735</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-01-21T19:31:01Z</dc:date>
    </item>
  </channel>
</rss>

