<?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 Problem in moving documents using rules in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161596#M115525</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;We have the following folders in a space:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;library&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;library/books&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;library/datasheets&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all folders have a rule that all incoming content is made versionable (add aspect)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;library has two additional&amp;nbsp; rules &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 all pdf files would be moved to library/books&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 all other files would be moved to library/datasheets&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In effect library top level folder would not contain any files&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem arises when a file with same name as an exisiting file is uploaded to library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I upload e.g. zyx.pdf first time to library , it is moved to library/books and assigned v1.0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I upload the same file again, there is an error, that a child with duplicate name cannot be created, even if the content has been made versionable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I upload the same file directly to folder books, there is same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, If I use Webdav to copy the same file to books folder, it works as desired, archived the originalfile and assigns a new version 1.1 to the newly uploded file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coupled to above, I want to autmatiacally create new folders based on file names or tags. This use useful, e.g. to file all books by one author in one separate folder. I do not want the end user to create these folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any workaround suggestions???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ajay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 03:25:32 GMT</pubDate>
    <dc:creator>ajaywazir</dc:creator>
    <dc:date>2008-07-17T03:25:32Z</dc:date>
    <item>
      <title>Problem in moving documents using rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161596#M115525</link>
      <description>HiWe have the following folders in a space:librarylibrary/bookslibrary/datasheetsall folders have a rule that all incoming content is made versionable (add aspect)library has two additional&amp;nbsp; rules 1 all pdf files would be moved to library/books2 all other files would be moved to library/datasheetsIn</description>
      <pubDate>Thu, 17 Jul 2008 03:25:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161596#M115525</guid>
      <dc:creator>ajaywazir</dc:creator>
      <dc:date>2008-07-17T03:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving documents using rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161597#M115526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rather than use the standard move action, you can create a script that gets run by your rule that has the relevant logic to handle the the move and auto-create of the folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &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;SPAN&gt; for details on the JavaScript API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 09:11:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161597#M115526</guid>
      <dc:creator>mikef</dc:creator>
      <dc:date>2008-07-17T09:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving documents using rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161598#M115527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi MIke,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyway to pass argruements to scripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g I would like to pass the name of the destination folder?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ajay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 11:05:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161598#M115527</guid>
      <dc:creator>ajaywazir</dc:creator>
      <dc:date>2008-07-17T11:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving documents using rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161599#M115528</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;One question ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using javascript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to update content after being checkedout?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could not find any reference to this; while we can check in and check out, we cannot update;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my application is as follows&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of using normal web based check out update file and check in; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to automate the process via approval workflow process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Consider the following scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drafts folder will have working copies of documents and files would be created or modified via Webdav&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once done, the documents will be sent for approval.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once approved the documents would be converted to pdf &amp;amp; moved to Approved folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Documents would automatically be moved from approved folder to Released Folder using Javascript as discussed above&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Released Folder there would older released versions of same file. So, I would need to check out, update or overwrite and check in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not want to lose released document history since this folder would be used to expose read only pdf copies to users with document history&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ajay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 13:37:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-in-moving-documents-using-rules/m-p/161599#M115528</guid>
      <dc:creator>ajaywazir</dc:creator>
      <dc:date>2008-07-17T13:37:28Z</dc:date>
    </item>
  </channel>
</rss>

