<?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: Rule for renaming docs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155886#M110184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to hook up a behavior to addition of Node.&amp;nbsp; An example of exactly what you are trying to do is in the Records Management module.&amp;nbsp; Basically, when you add a new record, it automatically renames it by prepending a generated Record ID, which seems very similar to what you want.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't remember exactly which one does it, but follow the behaviors defined in this file to see how they did it: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SRC\modules\records-mgmt\config\alfresco\module\org.alfresco.module.RecordsManagement\context\behaviour-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a really good tutorial on Behaviors.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/archives/2007/09/26/770" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/archives/2007/09/26/770&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2008 21:25:48 GMT</pubDate>
    <dc:creator>jbarmash</dc:creator>
    <dc:date>2008-06-03T21:25:48Z</dc:date>
    <item>
      <title>Rule for renaming docs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155884#M110182</link>
      <description>I want to have my docs renamed when they are saved in a space. The name of the doc depends on the space where i'm saving the doc. Does anybody know how can i do this?I was looking for some information about in forums and i can't find anything, any help will be welcome.Thanks,David.</description>
      <pubDate>Tue, 03 Jun 2008 08:58:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155884#M110182</guid>
      <dc:creator>davidcc</dc:creator>
      <dc:date>2008-06-03T08:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rule for renaming docs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155885#M110183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to hook up a behavior to addition of Node.&amp;nbsp; An example of exactly what you are trying to do is in the Records Management module.&amp;nbsp; Basically, when you add a new record, it automatically renames it by prepending a generated Record ID, which seems very similar to what you want.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't remember exactly which one does it, but follow the behaviors defined in this file to see how they did it: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SRC\modules\records-mgmt\config\alfresco\module\org.alfresco.module.RecordsManagement\context\behaviour-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a really good tutorial on Behaviors.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/archives/2007/09/26/770" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/archives/2007/09/26/770&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 21:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155885#M110183</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-06-03T21:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rule for renaming docs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155886#M110184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to hook up a behavior to addition of Node.&amp;nbsp; An example of exactly what you are trying to do is in the Records Management module.&amp;nbsp; Basically, when you add a new record, it automatically renames it by prepending a generated Record ID, which seems very similar to what you want.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't remember exactly which one does it, but follow the behaviors defined in this file to see how they did it: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SRC\modules\records-mgmt\config\alfresco\module\org.alfresco.module.RecordsManagement\context\behaviour-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a really good tutorial on Behaviors.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/archives/2007/09/26/770" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/archives/2007/09/26/770&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 21:25:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155886#M110184</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-06-03T21:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rule for renaming docs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155887#M110185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could create a rule that execute a javascript when a document is saved in a space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You're javascript could look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;document.name = document.parent.name + "_" + document.name;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;reference : &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 11:00:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-for-renaming-docs/m-p/155887#M110185</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2008-06-10T11:00:36Z</dc:date>
    </item>
  </channel>
</rss>

