~Dan Bubgerosteroni commented on Jul 31, 2015

Re: NotesDatabase sample JavaScript code for XPages

Correction needed in some of the samples above such as queryAccessPrivileges

In any example above where the user name is needed, use session.getEffectiveUserName() instead if session.getUserName() since the latter will give you the server name when running on a server.

~Anita Umresavitchettu commented on Mar 8, 2013

Folders via web via SSJS

database.enableFolder("SomeFolderName");

document1.getDocument().putInFolder("SomeFolderName",false);

the document already exists, but the issue is,,, No Folder is Created!

Any ideas?