<?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: file name as a key to upload in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261423#M214553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all, thank you for your answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mrogers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im uploading to a file structure that uses my own model, but as far as I understand, I may get all the defaults from the contentmodel.xml, and that may be the reason why there is a restriction on the file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"You could upload with a different primary association which does not have the unique name constraint but then your node will not show up in the interfaces that work off the file / folder service."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this means that if I go to the alfresco web client site I will not be aqble to browse with success may file and folders?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Perhaps the easiest approach would be to upload to different folders."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cant do this, because the files are organized in folders related to business rules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OpenPj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Alfresco stores files using XPath and cm:name, if you need to write a second version of the same file you have to enable versioning for that space."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, Im already versioning files in some cases. The problem here is that accordingly to may indexes, the file actually doesnt exists! But because I will upload a file with the same name (but with different custom indexes) Alfresco will throw an error saying the file already exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"In the contentModel.xml file you can find cm:contains association and I think that you can override the duplicate setting… I'm not sure about it and I don't know if Alfresco supports this type of changes."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw it there, tanks. Can I overwrite it in my custom model? Any example? But if I overwrite it, will I still be able to browse the files in the alfresco web client web site?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general Im searching for a way to ignore the file names of files when uploading. I want to control de existence of files only with my custom indexes/fields. At the same time I dont want to loose the possibility of brwosing the files using alfreaco web clients?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any additional help is appreciated &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Nov 2010 16:13:35 GMT</pubDate>
    <dc:creator>forumwebuser</dc:creator>
    <dc:date>2010-11-24T16:13:35Z</dc:date>
    <item>
      <title>file name as a key to upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261420#M214550</link>
      <description>Hello,Can someone explain me what is the impact of the names of the files in an alfresco repository?I created a simple workspace with a simple model. In my model I have some indexes/fields. In nowhere in this model I make a reference to the file name of the files I will upload as a field/index/key o</description>
      <pubDate>Wed, 24 Nov 2010 13:05:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261420#M214550</guid>
      <dc:creator>forumwebuser</dc:creator>
      <dc:date>2010-11-24T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: file name as a key to upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261421#M214551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your name property (cm:name) is probably being extracted from the file that you upload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are uploading to a file folder structure that uses the cm:contains association (i.e. a bog standard alfresco file/folder structure) then there is a constraint to prevent duplicate names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could upload with a different primary association which does not have the unique name constraint but then your node will not show up in the interfaces that work off the file / folder service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps the easiest approach would be to upload to different folders.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 13:26:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261421#M214551</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-24T13:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: file name as a key to upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261422#M214552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco stores files using XPath and cm:name, if you need to write a second version of the same file you have to enable versioning for that space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the contentModel.xml file you can find cm:contains association and I think that you can override the duplicate setting… I'm not sure about it and I don't know if Alfresco supports this type of changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 13:37:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261422#M214552</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-11-24T13:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: file name as a key to upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261423#M214553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all, thank you for your answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mrogers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im uploading to a file structure that uses my own model, but as far as I understand, I may get all the defaults from the contentmodel.xml, and that may be the reason why there is a restriction on the file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"You could upload with a different primary association which does not have the unique name constraint but then your node will not show up in the interfaces that work off the file / folder service."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this means that if I go to the alfresco web client site I will not be aqble to browse with success may file and folders?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Perhaps the easiest approach would be to upload to different folders."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cant do this, because the files are organized in folders related to business rules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OpenPj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Alfresco stores files using XPath and cm:name, if you need to write a second version of the same file you have to enable versioning for that space."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, Im already versioning files in some cases. The problem here is that accordingly to may indexes, the file actually doesnt exists! But because I will upload a file with the same name (but with different custom indexes) Alfresco will throw an error saying the file already exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"In the contentModel.xml file you can find cm:contains association and I think that you can override the duplicate setting… I'm not sure about it and I don't know if Alfresco supports this type of changes."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw it there, tanks. Can I overwrite it in my custom model? Any example? But if I overwrite it, will I still be able to browse the files in the alfresco web client web site?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general Im searching for a way to ignore the file names of files when uploading. I want to control de existence of files only with my custom indexes/fields. At the same time I dont want to loose the possibility of brwosing the files using alfreaco web clients?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any additional help is appreciated &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 16:13:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/file-name-as-a-key-to-upload/m-p/261423#M214553</guid>
      <dc:creator>forumwebuser</dc:creator>
      <dc:date>2010-11-24T16:13:35Z</dc:date>
    </item>
  </channel>
</rss>

