<?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: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314124#M1125</link>
    <description>&lt;P&gt;@Florent is it up-to-date for nuxeo 5.8? A code sample of calling importDocuments() API? I could not find an example to set Id.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Aug 2014 13:45:47 GMT</pubDate>
    <dc:creator>promanov_</dc:creator>
    <dc:date>2014-08-01T13:45:47Z</dc:date>
    <item>
      <title>(Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314119#M1120</link>
      <description>&lt;P&gt;The documentation suggests using uid:uid attribute to store custom doc ids.&lt;/P&gt;
&lt;P&gt;I wonder why it is not possible to provide the main ID attribute value on document creation?&lt;/P&gt;
&lt;P&gt;Let's say I have an document created in an external system and that needs to be synchronized with its' projection in nuxeo.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:02:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314119#M1120</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2014-07-23T12:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314120#M1121</link>
      <description>&lt;P&gt;The only way to have a Nuxeo document whose main id (uuid) is user-defined is to use the &lt;A href="http://community.nuxeo.com/api/nuxeo/5.8/javadoc/org/nuxeo/ecm/core/api/CoreSession.html#importDocuments(java.util.List)"&gt;CoreSession.importDocuments&lt;/A&gt; API.&lt;/P&gt;
&lt;P&gt;Note that for some Nuxeo configuration (see Id Column Type in the &lt;A href="http://doc.nuxeo.com/x/hwQz"&gt;VCS Configuration&lt;/A&gt; doc), the id needs to be an integer and database-generated to ensure unicity.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 14:46:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314120#M1121</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-07-25T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314121#M1122</link>
      <description>&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2014 10:45:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314121#M1122</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2014-07-29T10:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314122#M1123</link>
      <description>&lt;P&gt;I try this function before and after creating document but it doesn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 14:07:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314122#M1123</guid>
      <dc:creator>saliminam</dc:creator>
      <dc:date>2014-07-30T14:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314123#M1124</link>
      <description>&lt;P&gt;It doesn't seem to work for me either, I'm testing on Nuxeo 5.8 (added the version in the question title).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2014 13:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314123#M1124</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2014-07-31T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314124#M1125</link>
      <description>&lt;P&gt;@Florent is it up-to-date for nuxeo 5.8? A code sample of calling importDocuments() API? I could not find an example to set Id.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2014 13:45:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314124#M1125</guid>
      <dc:creator>promanov_</dc:creator>
      <dc:date>2014-08-01T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: (Nuxeo 5.8) Document ID generation - why cannot provide a custom ID instead of using additional schema like UID?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314125#M1126</link>
      <description>&lt;P&gt;You must create a DocumentModelImpl with the proper id. You have to use the constructor with many args for that. Note that CoreSession.createDocumentModel has a 3-arg signature where the second arg is named "id" but it's a mislabeling, it's actually the "name" here ([NXP-14913](https&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:19:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-document-id-generation-why-cannot-provide-a-custom-id/m-p/314125#M1126</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-08-05T16:19:20Z</dc:date>
    </item>
  </channel>
</rss>

