<?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 Rule to set a document's language depending on the file name in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rule-to-set-a-document-s-language-depending-on-the-file-name/m-p/181308#M134438</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;BR /&gt;&lt;SPAN&gt;has anyone written a script to do this? Basically, if a file has "_en" in its name, I want to set it to english for our english users to be able to find it…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oliver&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2008 12:02:06 GMT</pubDate>
    <dc:creator>ostein</dc:creator>
    <dc:date>2008-09-25T12:02:06Z</dc:date>
    <item>
      <title>Rule to set a document's language depending on the file name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-to-set-a-document-s-language-depending-on-the-file-name/m-p/181308#M134438</link>
      <description>Hi,has anyone written a script to do this? Basically, if a file has "_en" in its name, I want to set it to english for our english users to be able to find it…Regards,Oliver</description>
      <pubDate>Thu, 25 Sep 2008 12:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-to-set-a-document-s-language-depending-on-the-file-name/m-p/181308#M134438</guid>
      <dc:creator>ostein</dc:creator>
      <dc:date>2008-09-25T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rule to set a document's language depending on the file name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-to-set-a-document-s-language-depending-on-the-file-name/m-p/181309#M134439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand that adding the "cm:mlDocument" aspect would do the trick, but executing a script that calls:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;document.addAspect("cm:mlDocument", "EN");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.save();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;actually destroys the document… am I thinking the wrong way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 10:01:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-to-set-a-document-s-language-depending-on-the-file-name/m-p/181309#M134439</guid>
      <dc:creator>ostein</dc:creator>
      <dc:date>2008-09-26T10:01:17Z</dc:date>
    </item>
  </channel>
</rss>

