12-10-2010 10:16 AM
A much more convenient method of addressing nodes is by using an email alias (Email Alias aspect or emailserver:alias). On a space or file, use the Run Action functionality to add the Email Alias aspect. Edit the space or file's properties and give the node an email alias. To set the email alias on the Space, do "View Details" on the space, in the Properties section, if Email Alias is empty, click the edit on to top right - in line with Properties to provide the alias. For example, the administrator may add a Space called Inbox to handle inbound emailed content.How can this be done using a web service?
12-10-2010 12:39 PM
12-13-2010 11:32 AM
private void createContent(HttpServletRequest request, HttpServletResponse response, String folder) throws IOException
{
String[] folders = {"Academic Progress","Accommodation","Admissions","Assessment","Careers and PDP","Finance","Formal Procedures","General Correspondence","Health, Wellbeing and Disability","Placements","Registration","Studentship"};
// Start the session
AuthenticationUtils.startSession(Attributes.USERNAME, Attributes.PASSWORD);
try {
// Make your web service call in here
Reference r = SpaceUtil.createSpace(folder);
for(int i=0; i<folders.length;i++){
SpaceUtil.createSpace(r,folders[i]);
}
}
catch (Throwable e) {
log.error("createContent erorr: " + e.toString());
e.printStackTrace();
}
finally {
// End the session
AuthenticationUtils.endSession();
}
}
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.