<?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: How to write paths in Javascript's Listener? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41169#M17269</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/8063"&gt;@upforsin&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for pposting your solution - really helpful to other users.&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 13:54:36 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2020-07-01T13:54:36Z</dc:date>
    <item>
      <title>How to write paths in Javascript's Listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41167#M17267</link>
      <description>&lt;P&gt;Hello, I would like to move some documents inside TaskListener.&lt;/P&gt;&lt;P&gt;I use:&lt;/P&gt;&lt;PRE&gt;var node = companyhome.childByNamePath(&lt;EM&gt;&lt;STRONG&gt;DESTINATION&lt;/STRONG&gt;&lt;/EM&gt;)
doc.move(node);&lt;/PRE&gt;&lt;P&gt;How am I supposed to write the &lt;EM&gt;&lt;STRONG&gt;DESTINATION&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say the path is: (copied from the node browser)&lt;/P&gt;&lt;PRE&gt;/app:company_home/st:sites/cm:sample-project/cm:documentLibrary/cm:_x0030_Directory_x0020_With_x0020__x0020_Whitespace/cm:_x0030_Final&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(Sites/sample project/&lt;SPAN&gt;documentLibrary/Directory With Whitespace/Final&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;The more specific question, how to enter the destination with a whitespace character? (I tried the one above but it does not work )&lt;/P&gt;&lt;P&gt;Error: &lt;FONT color="#FF0000"&gt;Caused by: java.lang.IllegalArgumentException: Destination Node is a mandatory parameter&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:05:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41167#M17267</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-06-29T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to write paths in Javascript's Listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41168#M17268</link>
      <description>&lt;P&gt;For future readers, path CAN contain whitespaces and it should be formatted just as you see it (without st:, cm:, etc).&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;PRE&gt;Sites/my-site/documentLibrary/Dir With Whitespace/Final&lt;/PRE&gt;&lt;P&gt;is correct.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:49:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41168#M17268</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-06-29T15:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to write paths in Javascript's Listener?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41169#M17269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/8063"&gt;@upforsin&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for pposting your solution - really helpful to other users.&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:54:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-write-paths-in-javascript-s-listener/m-p/41169#M17269</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-07-01T13:54:36Z</dc:date>
    </item>
  </channel>
</rss>

