<?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: Each document version has unique noderef or not ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4452#M1980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each node in Alfresco and each version have a unique NodeRef. This is enforced on a DB constraint level and cannot be circumvented. Though there are features that masquerade the underlying NodeRef, e.g. when using multi-tenancy where it is technically possible for two tenants to have nodes with identical NodeRefs. But these identical NodeRefs are only identical on a logical level - in the underyling DB layer they are again unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2017 20:57:29 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-01-30T20:57:29Z</dc:date>
    <item>
      <title>Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4451#M1979</link>
      <description>I am using alfresco webscript to get the list of versions for a documentwhen i try to get the noderef of a all version using the property&amp;nbsp;child[i].noderefas mentioned in below link:-ScriptNode API | Alfresco Documentation&amp;nbsp;i get all versions node id as same&amp;nbsp;Please tell if the noderef is same for all</description>
      <pubDate>Mon, 30 Jan 2017 14:47:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4451#M1979</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2017-01-30T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4452#M1980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each node in Alfresco and each version have a unique NodeRef. This is enforced on a DB constraint level and cannot be circumvented. Though there are features that masquerade the underlying NodeRef, e.g. when using multi-tenancy where it is technically possible for two tenants to have nodes with identical NodeRefs. But these identical NodeRefs are only identical on a logical level - in the underyling DB layer they are again unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4452#M1980</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-01-30T20:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4453#M1981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using js webscript how to get the unique noderef for each version of a document ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 06:19:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4453#M1981</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2017-01-31T06:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4454#M1982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://docs.alfresco.com/5.1/references/API-JS-getVersionHistory.html" rel="nofollow noopener noreferrer"&gt;documentation on Script API for versions&lt;/A&gt; should help you get started...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:22:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4454#M1982</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-01-31T10:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4455#M1983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Anuj&lt;BR /&gt;You can get the all versions of a document using this api url,&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000ff; text-decoration: underline;"&gt;&lt;A href="http://serverport" rel="nofollow noopener noreferrer"&gt;http://server&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/alfresco/service/api/version?nodeRef=workspace://SpacesStore/09d0c872-3f0a-49df-91f8-e1f8d8b257c1&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;You will get the output in JSON format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:08:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4455#M1983</guid>
      <dc:creator>vikash_patel</dc:creator>
      <dc:date>2017-01-31T13:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4456#M1984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Axel Faust&lt;/B&gt;‌ &lt;B&gt;Vikash Patel&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;hi,&lt;BR /&gt;i am able to get the documents versions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is simply :- At DB level we are having unique noderef for a document version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i do &amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;child[i].&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;nodeRef &amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;, i get same noderef for all versions&lt;BR /&gt;&lt;BR /&gt;is there some property other than 'noderef' which can give unique node reference.( i am referring to properties like in this documentation -------&amp;gt; &amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/3.4/references/API-JS-ScriptNode.html" title="http://docs.alfresco.com/3.4/references/API-JS-ScriptNode.html" rel="nofollow noopener noreferrer"&gt;ScriptNode API | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:10:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4456#M1984</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2017-01-31T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4457#M1985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seriously don't know what you are trying to access "child[i].nodeRef" for - and I don't know what values you have assigned to it. Via the ScriptNode getVersionHistory() operation you get a list of versions, and each version will have a "version.frozenStateNodeRef" property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:27:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4457#M1985</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-01-31T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4458#M1986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The nodeRef is the same because you are getting it from the document (children[i]) instead of the version.&lt;/P&gt;&lt;P&gt;Use docVersions[v].node.nodeRef instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: Sorry - it was late and I got confused by your use of children[i] within the loop. Replaced children[i].node.nodeRef with docVersions[v].node.nodeRef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 17:02:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4458#M1986</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-01-31T17:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4459#M1987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on using this ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;org.alfresco.error.AlfrescoRuntimeException - 01010316 TypeError: Cannot read property "nodeRef" from undefined&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 05:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4459#M1987</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2017-02-01T05:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Each document version has unique noderef or not ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4460#M1988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is exactly what i needed !!!!&lt;BR /&gt;&lt;BR /&gt;Thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 07:49:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/each-document-version-has-unique-noderef-or-not/m-p/4460#M1988</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2017-02-01T07:49:17Z</dc:date>
    </item>
  </channel>
</rss>

