10-03-2008 08:48 AM
02-03-2009 02:38 PM
Hey all, thanks in advance for the help. I'm writing a file movement utility using the RAAR 1.5 api and Alf 2.1. I'm noticing that when a node is copied in the same folder, the paths of the two nodes remain identical. How does one change the path of the new node once it's created?
Also, is there a way to copy a node and specify the new name?Yes, you could use the NodeService to copy as usual then rename the document:
NodeRef rename(Ticket ticket, NodeRef nodeRef, String newName)
02-05-2009 05:56 AM
How do you change the password for the users programatically?
02-05-2009 10:09 AM
02-06-2009 11:47 AM
02-08-2009 07:38 PM
02-09-2009 02:22 AM
02-09-2009 11:13 AM
02-10-2009 11:36 AM
02-24-2009 11:59 AM
02-24-2009 12:59 PM
// create the node to represent the Person
NodeRef newPerson = this.personService.createPerson(props);
// ensure the user can access their own Person object
this.permissionService.setPermission(newPerson, authority, permissionService.getAllPermission(), true);
// create the ACEGI Authentication instance for the new user
this.authenticationService.createAuthentication(authority, password.toCharArray());
Hope this helps,Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.