AnsweredAssumed Answered

Problems copying a document to several userHome

Question asked by nimbus1958 on Apr 23, 2019
Latest reply on Apr 25, 2019 by nimbus1958

I have a document with a custom type.

One of those properties allow for the userNames of several users separated by space.

A script reads these userNames and copy the document to the relevant userHome space.

It works fine if I have only one user.

When I have two or more, I get errors.

Using the javascript console, I can see (via logger.log) the different userNames and the userNode but the moment I do a "document.copy(userNode), it crashes!


Anybody would have an idea?