<?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: How to read document from Alfresco community edition 5.2? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-read-document-from-alfresco-community-edition-5-2/m-p/40263#M16888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was following you right up until the last moment. This is what confused me: "so next time when supervisor approved the document we are not getting the updated content because document id is different for second document".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you mean is that whatever program is being used to make the REST call is not able to associate the second upload as being the same document that was previously seen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When documents are copied they will always get a new node reference. If you need an identifier that stays consistent across copies you should create one and store it on the document in a custom property. You could use the original node reference as a your permanent identifier, but you need to save it in a separate property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To automatically copy the original node reference into your own property, you might consider using a custom &lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Behavior&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Mar 2017 06:27:50 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2017-03-11T06:27:50Z</dc:date>
    <item>
      <title>How to read document from Alfresco community edition 5.2?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-read-document-from-alfresco-community-edition-5-2/m-p/40262#M16887</link>
      <description>I am new to alfresco. This may be the basic query but please help me.My requirement is Upload text document which will be displayed in UI once it is approved by the supervisor. To achieve this we are using three foldersDraft - To uploadPending - Pending for approvalApproved - Approved documentReadin</description>
      <pubDate>Wed, 08 Mar 2017 04:18:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-read-document-from-alfresco-community-edition-5-2/m-p/40262#M16887</guid>
      <dc:creator>muqthar</dc:creator>
      <dc:date>2017-03-08T04:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to read document from Alfresco community edition 5.2?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-read-document-from-alfresco-community-edition-5-2/m-p/40263#M16888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was following you right up until the last moment. This is what confused me: "so next time when supervisor approved the document we are not getting the updated content because document id is different for second document".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you mean is that whatever program is being used to make the REST call is not able to associate the second upload as being the same document that was previously seen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When documents are copied they will always get a new node reference. If you need an identifier that stays consistent across copies you should create one and store it on the document in a custom property. You could use the original node reference as a your permanent identifier, but you need to save it in a separate property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To automatically copy the original node reference into your own property, you might consider using a custom &lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Behavior&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 06:27:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-read-document-from-alfresco-community-edition-5-2/m-p/40263#M16888</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2017-03-11T06:27:50Z</dc:date>
    </item>
  </channel>
</rss>

