<?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 Change property approveFolder of document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233539#M186669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use some scripts where i want to change the property "app:approveFolder" of a document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do it like this (in script):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.properties["app:approveFolder"] = companyhome.childByNamePath(path);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where document = document i want to move to another folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Normally if i approve, the document goes to the folder i want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if path is for example "/work/ICT" it works fine, but if i use a bigger path like "/work/ICT/programming/Manager" i have an error, he don't saves the path and document.properties["app:approveFolder"] is null…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so the error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Wrapped Exception (with status template): Failed to execute script workflowAction.post.js (in repository store workspace://SpacesStore/Company Home/Data Dictionary/Web Scripts Extensions)': Destination Node is a mandatory parameter&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm sure the folder exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does someone know what the problem is?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2009 12:32:32 GMT</pubDate>
    <dc:creator>ndk</dc:creator>
    <dc:date>2009-07-17T12:32:32Z</dc:date>
    <item>
      <title>Change property approveFolder of document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233539#M186669</link>
      <description>I use some scripts where i want to change the property "app:approveFolder" of a document.I do it like this (in script):document.properties["app:approveFolder"] = companyhome.childByNamePath(path);where document = document i want to move to another folder.Normally if i approve, the document goes to t</description>
      <pubDate>Fri, 17 Jul 2009 12:32:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233539#M186669</guid>
      <dc:creator>ndk</dc:creator>
      <dc:date>2009-07-17T12:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change property approveFolder of document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233540#M186670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if i understand what you're trying to achieve. You're saving a node in the approveFolder properties? I don't see any instruction to move the&amp;nbsp; document to that folder. Maybe you didnt include all the script, but i dont see a move instruction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 08:56:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233540#M186670</guid>
      <dc:creator>kbonnet</dc:creator>
      <dc:date>2009-07-22T08:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change property approveFolder of document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233541#M186671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You really should post the entire script, in order to get meaningful answers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 14:00:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-property-approvefolder-of-document/m-p/233541#M186671</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2009-07-22T14:00:28Z</dc:date>
    </item>
  </channel>
</rss>

