<?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 Automatic content name allocation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169096#M122508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to set a content rule so that when new content is created (as opposed to being uploaded), the &lt;/SPAN&gt;&lt;STRONG&gt;General Property&lt;/STRONG&gt;&lt;SPAN&gt; field &lt;/SPAN&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;SPAN&gt; is generated automatically, such as a number?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then all other content created after that, the number is incremented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, we after some sort of automatic document ID allocation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2008 12:27:13 GMT</pubDate>
    <dc:creator>alloydog</dc:creator>
    <dc:date>2008-08-14T12:27:13Z</dc:date>
    <item>
      <title>Automatic content name allocation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169096#M122508</link>
      <description>Is it possible to set a content rule so that when new content is created (as opposed to being uploaded), the General Property field Name is generated automatically, such as a number?Then all other content created after that, the number is incremented.Basically, we after some sort of automatic docume</description>
      <pubDate>Thu, 14 Aug 2008 12:27:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169096#M122508</guid>
      <dc:creator>alloydog</dc:creator>
      <dc:date>2008-08-14T12:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic content name allocation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169097#M122509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can add an inbound rule on the space where you want to store the files: "View Details" -&amp;gt; "Manage Content Rules" -&amp;gt; "Create Rule". The rule will only fire when things get created in the space. You could then choose to run a JavaScript file as the action of that rule and then you could grab the "sys:node-dbid" property of the newly created file and set the name of the file to that; I believe that property is the id of the node in the database so it will be a number and unique.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:11:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169097#M122509</guid>
      <dc:creator>sbuckle</dc:creator>
      <dc:date>2008-08-14T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic content name allocation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169098#M122510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might be better of creating a custom content wizard. The issue with content rules is that they get executed after the content item has been authored by the user and when it gets saved in the space. So your users are going to have to fill something in to the name field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using a custom content wizard you can hide the Name property field and write your own custom code to generate / look up the unique ID and pre-populate the name property. This should be wrapped in a user transaction. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Content rules can still be used to update the name field post upload to cater for content uploaded / emailed / ftp'd to the repository. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Details of how to customise the create content: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Customising_The_Create_Content_Wizard" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Customising_The_Create_Content_Wizard&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:45:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169098#M122510</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2008-08-14T13:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic content name allocation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169099#M122511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks - I'll try the content rules wizard, as we are currently still playing around with the online demo service, while we try and get the actual system up and running on local server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 06:07:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatic-content-name-allocation/m-p/169099#M122511</guid>
      <dc:creator>alloydog</dc:creator>
      <dc:date>2008-08-15T06:07:47Z</dc:date>
    </item>
  </channel>
</rss>

