<?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 Auto generated sequential number in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/auto-generated-sequential-number/m-p/269906#M223036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for something that should be supported out of the box, or just can be very easy to implement, because it is the most common use case for a Document Management System that I can think for&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to write in a property (defined in a custom type or in a custom aspect) on node creation containing the max()+1 of its kind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I insert a document of type X (or specialize an existing document) I'd like to have x.progressiveId = (number of documents of type X)+1 and the property should be unique.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Better, if I can put a partition value (for instance, the max()+1 should be implemented taking in account another property, for instance a property "year" so that 1st of January we can start again from 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there tutorials/best practices I can follow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've a rough idea of the path to implement it (use behaviors/store the current max() value in a node with known id) but if there is something 'ready' i would be much happier!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks to everyone&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 15:48:52 GMT</pubDate>
    <dc:creator>ale_carraro</dc:creator>
    <dc:date>2011-12-14T15:48:52Z</dc:date>
    <item>
      <title>Auto generated sequential number</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/auto-generated-sequential-number/m-p/269906#M223036</link>
      <description>Hi,I'm looking for something that should be supported out of the box, or just can be very easy to implement, because it is the most common use case for a Document Management System that I can think forI'd like to write in a property (defined in a custom type or in a custom aspect) on node creation c</description>
      <pubDate>Wed, 14 Dec 2011 15:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/auto-generated-sequential-number/m-p/269906#M223036</guid>
      <dc:creator>ale_carraro</dc:creator>
      <dc:date>2011-12-14T15:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Auto generated sequential number</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/auto-generated-sequential-number/m-p/269907#M223037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want the case like the variable which keep the track total number of documents uploaded in perticular space or like that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is the case you need to create one simple content on which you apply your custom property and it should be incremented with each upload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if that is like wanted to keep number of time document is viewed or downloaded (content specific property).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can go for behavior or policies.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 10:18:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/auto-generated-sequential-number/m-p/269907#M223037</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2011-12-16T10:18:03Z</dc:date>
    </item>
  </channel>
</rss>

