Hello, I would like to move some documents inside TaskListener.
I use:
var node = companyhome.childByNamePath(DESTINATION)
doc.move(node);
How am I supposed to write the DESTINATION ?
Let's say the path is: (copied from the node browser)
/app:company_home/st:sites/cm:sample-project/cm:documentLibrary/cm:_x0030_Directory_x0020_With_x0020__x0020_Whitespace/cm:_x0030_Final
(Sites/sample project/documentLibrary/Directory With Whitespace/Final)
The more specific question, how to enter the destination with a whitespace character? (I tried the one above but it does not work )
Error: Caused by: java.lang.IllegalArgumentException: Destination Node is a mandatory parameter